On Tue, 28 Oct 2025 21:48:38 GMT, Brian Burkhalter <[email protected]> wrote:
>> `File.getCanonicalPath` invokes `GetFinalPathNameByHandle` on the result of >> `canonicalize0` which causes the drive letter of a mapped drive to be >> converted to a UNC prefix. If such a substitution is detected, this request >> proposes to revert the conversion of drive letter to UNC prefix before >> returning the canonical path. > > Brian Burkhalter has updated the pull request incrementally with one > additional commit since the last revision: > > 8355342: Resize buffer passed to GetFinalPathNameByHandleW if needed 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? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/27324#discussion_r2473740438
