RFR: 8355342: File.getCanonicalPath on Java 24 resolves paths on network drives to UNC format [v2]

Brian Burkhalter bpb at openjdk.org
Tue Sep 16 22:11:34 UTC 2025


On Tue, 16 Sep 2025 22:02:34 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8355342: Fix possible sneaky NullPointerException
>
> src/java.base/windows/classes/java/io/WinNTFileSystem.java line 463:
> 
>> 461:     }
>> 462: 
>> 463:     private static final long HKEY_CURRENT_USER =0x80000001L;
> 
> Suggestion:
> 
>     private static final long HKEY_CURRENT_USER = 0x80000001L;

Thanks. Fixed in 833ec72.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27324#discussion_r2353762137


More information about the core-libs-dev mailing list