RFR: 8356678: (fs) Files.readAttributes should map ENOTDIR to NoSuchFileException where possible (unix) [v3]
Brian Burkhalter
bpb at openjdk.org
Wed May 14 17:51:34 UTC 2025
On Wed, 14 May 2025 17:28:41 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8356678: Revert some of the ENOTDIR changes and update test
>
> test/jdk/java/nio/file/Files/NotADirectory.java line 27:
>
>> 25: * @bug 8356678
>> 26: * @requires (os.family != "windows")
>> 27: * @summary Test files operations when a path component is not a regular file
>
> I assume you meant to say "when a path component is not a directory".
Yes. So changed in 2344b7d.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25191#discussion_r2089447347
More information about the nio-dev
mailing list