RFR: 8365626: (fs) Improve handling of broken links in Files.isSameFile() (win) [v6]

Brian Burkhalter bpb at openjdk.org
Mon Sep 15 16:07:14 UTC 2025


> Improve handling of broken symbolic links in `Files.isSameFile` on Windows as was done on Unix by the fix of [JDK-8154364](https://bugs.openjdk.org/browse/JDK-8154364).

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 seven additional commits since the last revision:

 - 8365626: Close handle when breaking for non-link
 - Merge
 - 8365626: Close handle if readAttributes() throws
 - 8365626: Address reviewer comments since previous commit
 - 8365626: Address reviewer comments since previous commit
 - 8365626: Incorporate suggestions from review comments
 - Initial commit

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27079/files
  - new: https://git.openjdk.org/jdk/pull/27079/files/82e73a7b..994f07b6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27079&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27079&range=04-05

  Stats: 23490 lines in 781 files changed: 12402 ins; 7353 del; 3735 mod
  Patch: https://git.openjdk.org/jdk/pull/27079.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27079/head:pull/27079

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


More information about the nio-dev mailing list