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

Brian Burkhalter bpb at openjdk.org
Mon Aug 18 21:56:37 UTC 2025


On Sat, 16 Aug 2025 07:04:40 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> It would be nice if getIfExists(path) could be implemented as getIfExists(path, true)

When I added `getIfExists(UnixPath,boolean)`, I noticed that there was already a degree of inconsistency in that some functions that have native counterparts returning an `int` either also return an `int` or are declared `void`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26736#discussion_r2283577186


More information about the nio-dev mailing list