RFR: 8368165: (fs) Path.toRealPath does not perform correctly for symbolic links in a mapped drive (win) [v2]

Brian Burkhalter bpb at openjdk.org
Wed Nov 5 01:01:12 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`.

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

  8368165: Improve fallback mechanism when a link cannot be opened for attribute access

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28032/files
  - new: https://git.openjdk.org/jdk/pull/28032/files/8aacdcc6..891561f6

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

  Stats: 51 lines in 1 file changed: 35 ins; 7 del; 9 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