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

Brian Burkhalter bpb at openjdk.org
Wed Oct 29 16:47:03 UTC 2025


On Wed, 29 Oct 2025 15:32:08 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> src/java.base/windows/native/libjava/canonicalize_md.c line 200:
>> 
>>> 198:    have been converted to native form already, via JVM_NativePath().  This is
>>> 199:    necessary because _fullpath() rejects duplicate separator characters on
>>> 200:    Win95, though it accepts them on NT. */
>> 
>> What would you think about replacing this function description while it is fresh in our heads?
>
>> [...] replacing this function description [...]
> 
> Will do. I also noticed the reference to legacy Windows versions, and it would be well timed given #28022.

Changed in e52cfb9.

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

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


More information about the core-libs-dev mailing list