RFR: 8361587: AssertionError in File.listFiles() when path is empty and -esa is enabled [v7]
Brian Burkhalter
bpb at openjdk.org
Tue Jul 15 15:29:42 UTC 2025
On Tue, 15 Jul 2025 06:36:46 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8361587: Improve previous commit
>
> test/jdk/java/io/File/EmptyPath.java line 283:
>
>> 281: assertTrue(child.mkdirs());
>> 282: assertTrue(child.delete());
>> 283: }
>
> The updated proposal is local to listFiles and doesn't change UnixFileSystem.resolve. Is the test update in sync with the latest change?
Yes. The OS-dependent `mkdirs` sub-tests reflect the actual behavior.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26224#discussion_r2207836400
More information about the core-libs-dev
mailing list