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

Brian Burkhalter bpb at openjdk.org
Fri Aug 15 20:43:41 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: Put changes to Misc.java in platform-specific blocks

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

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

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

  Stats: 31 lines in 1 file changed: 26 ins; 0 del; 5 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