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

Brian Burkhalter bpb at openjdk.org
Fri Sep 8 01:07:17 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: Handle "\\?\UNC"; add bad paths to test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15603/files
  - new: https://git.openjdk.org/jdk/pull/15603/files/0d4290cc..d9d84b8e

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

  Stats: 16 lines in 2 files changed: 11 ins; 0 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