On Sun, 29 Sep 2024 04:49:14 GMT, Jaikiran Pai <j...@openjdk.org> wrote:

> Can I please get a review of this change which proposes to keep a single 
> source file for `sun.net.www.protocol.jar.JarFileFactory`?
> 
> As noted in https://bugs.openjdk.org/browse/JDK-8341142, the sole difference 
> between the current two sources files is the presence and usage of an 
> additional internal private `urlFor(URL)` method on Windows OS.
> 
> The commit in this PR moves ("git mv") the Windows file to the 
> `share/classes` and removes ("git rm") the Unix file. After the move, an 
> conditional check is now added in the private `urlFor(URL)` method to have 
> its implementation be applicable only on Windows.
> 
> No new test has been added and existing tier1, tier2 and tier3 tests continue 
> to pass.

This pull request has now been integrated.

Changeset: 86ce19e8
Author:    Jaikiran Pai <j...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/86ce19e8db6950fc529b8c510137e91e97cae0c4
Stats:     247 lines in 2 files changed: 7 ins; 239 del; 1 mod

8341142: Maintain a single source file for 
sun.net.www.protocol.jar.JarFileFactory

Reviewed-by: dfuchs

-------------

PR: https://git.openjdk.org/jdk/pull/21245

Reply via email to