RFR: 8368165: (fs) Path.toRealPath does not perform correctly for symbolic links in a mapped drive (win) [v3]
Brian Burkhalter
bpb at openjdk.org
Wed Jan 14 22:27:04 UTC 2026
> If `getFinalPath` throws an exception, or converts a drive path to a UNC path, then fall back to the slow path which uses `resolveAllLinks`.
Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- Merge
- 8368165: Improve fallback mechanism when a link cannot be opened for attribute access
- 8368165: (fs) Path.toRealPath does not perform correctly for symbolic links in a mapped drive (win)
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28032/files
- new: https://git.openjdk.org/jdk/pull/28032/files/891561f6..ba3952dc
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28032&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28032&range=01-02
Stats: 413918 lines in 6117 files changed: 261573 ins; 88231 del; 64114 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