RFR: 8154364: (fs) Files.isSameFile() throws NoSuchFileException with broken symbolic links [v9]

Brian Burkhalter bpb at openjdk.org
Mon Aug 18 21:52:31 UTC 2025


> This request proposes to broaden the definition of which paths are considered to be the same by `java.nio.file.Files.isSameFile()`. A new test is added to cover many comparisons.

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

  8154364: Improve Unix link handling; return false instead of throwing IOException on Windows

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26736/files
  - new: https://git.openjdk.org/jdk/pull/26736/files/8b85dfd7..b2bd8f2f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26736&range=08
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26736&range=07-08

  Stats: 88 lines in 3 files changed: 16 ins; 43 del; 29 mod
  Patch: https://git.openjdk.org/jdk/pull/26736.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26736/head:pull/26736

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


More information about the nio-dev mailing list