RFR: 8298478: (fs) Path.of should allow input to include long path prefix

Brian Burkhalter bpb at openjdk.org
Sat Feb 4 00:09:36 UTC 2023


Remove the long path `\?` or `\?\UNC` prefix before creating the `WindowsPath` instance..

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

Commit messages:
 - 8298478: (fs) Path.of should allow input to include long path prefix

Changes: https://git.openjdk.org/jdk/pull/12423/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12423&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8298478
  Stats: 23 lines in 2 files changed: 20 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/12423.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12423/head:pull/12423

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


More information about the nio-dev mailing list