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

Brian Burkhalter bpb at openjdk.org
Fri Aug 15 18:28:56 UTC 2025


On Fri, 15 Aug 2025 00:19:37 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> 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: Unix cleanup

This request is now constrained to Unix as links are not used as widely on Windows. The Windows case might be addressed by a separate issue.

Caveat: The test needs to be limited to not Windows so one more commit is needed.

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

PR Comment: https://git.openjdk.org/jdk/pull/26736#issuecomment-3192375529
PR Comment: https://git.openjdk.org/jdk/pull/26736#issuecomment-3192376648


More information about the nio-dev mailing list