RFR: 8356678: (fs) Files.readAttributes should map ENOTDIR to NoSuchFileException where possible (unix) [v2]
Brian Burkhalter
bpb at openjdk.org
Wed May 14 17:21:13 UTC 2025
On Tue, 13 May 2025 23:53:38 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: Add more checks in copy and move; beef up test
All `jdk_nio` tests pass with 0908e75 on Linux and macOS.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25191#issuecomment-2880981158
More information about the nio-dev
mailing list