RFR: 8356678: (fs) Files.readAttributes should map ENOTDIR to NoSuchFileException where possible (unix) [v4]

Alan Bateman alanb at openjdk.org
Wed May 14 18:08:56 UTC 2025


On Wed, 14 May 2025 17:51:34 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Treat `ENOTDIR` as causing a `NoSuchFileException` instead of a `FileSystemExcception` in some places in order to handle cases such as a regular file named, for example, `foo/bar`.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8356678: Improve test summary

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25191#pullrequestreview-2841080893


More information about the nio-dev mailing list