RFR: 8361587: AssertionError in File.listFiles() when path is empty and -esa is enabled [v8]

Alan Bateman alanb at openjdk.org
Wed Jul 16 13:32:52 UTC 2025


On Wed, 16 Jul 2025 09:28:33 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Hello Brian, I'm late to this discussion. I think there are a couple of more places in this code which need attention. The private `File` constructor which has this `assert` gets invoked from 3 different `File.listFiles()` methods. One of them has now been fixed in this PR. However, 2 other `listFiles()` methods continue to exhibit this issue.

@bplb Can you check the test coverage again? Its important that EmptyTest exercises every method.

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

PR Comment: https://git.openjdk.org/jdk/pull/26224#issuecomment-3078633637


More information about the core-libs-dev mailing list