RFR: 8287843: File::getCanonicalFile doesn't work for \?\C:\ style paths DOS device paths [v6]

Brian Burkhalter bpb at openjdk.org
Mon Oct 2 23:12:24 UTC 2023


> In the Windows implementation of java.io.File.getCanonicalPath, strip any long path or UNC prefix before canonicalizing the remainder of the pathname.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8287843: remove stripLongOrUNCPrefix() except in normalize()

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15603/files
  - new: https://git.openjdk.org/jdk/pull/15603/files/63e2c5c2..d05eba05

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15603&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15603&range=04-05

  Stats: 60 lines in 1 file changed: 23 ins; 32 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/15603.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15603/head:pull/15603

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


More information about the core-libs-dev mailing list