> `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 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/27324/files - new: https://git.openjdk.org/jdk/pull/27324/files/e4cad2b1..3820a269 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=27324&range=08 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27324&range=07-08 Stats: 32 lines in 2 files changed: 14 ins; 0 del; 18 mod Patch: https://git.openjdk.org/jdk/pull/27324.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27324/head:pull/27324 PR: https://git.openjdk.org/jdk/pull/27324
