RFR: 8368165: (fs) Path.toRealPath does not perform correctly for symbolic links in a mapped drive (win)
Brian Burkhalter
bpb at openjdk.org
Wed Oct 29 00:58:27 UTC 2025
If `getFinalPath` throws an exception, or converts a drive path to a UNC path, then fall back to the slow path which uses `resolveAllLinks`.
-------------
Commit messages:
- 8368165: (fs) Path.toRealPath does not perform correctly for symbolic links in a mapped drive (win)
Changes: https://git.openjdk.org/jdk/pull/28032/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28032&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8368165
Stats: 24 lines in 1 file changed: 18 ins; 0 del; 6 mod
Patch: https://git.openjdk.org/jdk/pull/28032.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28032/head:pull/28032
PR: https://git.openjdk.org/jdk/pull/28032
More information about the nio-dev
mailing list