RFR: 8361587: AssertionError in File.listFiles() when path is empty and -esa is enabled [v7]
Alan Bateman
alanb at openjdk.org
Tue Jul 15 06:39:42 UTC 2025
On Sat, 12 Jul 2025 04:25:31 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Changes to address `File.listFiles` invoked on an empty path. This fixes an oversight in #22821.
>
> 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?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26224#discussion_r2206535232
More information about the core-libs-dev
mailing list