RFR: 8024695: new File("").exists() returns false whereas it is the current working directory [v5]

Brian Burkhalter bpb at openjdk.org
Mon Feb 10 16:39:17 UTC 2025


On Fri, 7 Feb 2025 20:17:47 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Update the specification of `java.io.File.exists()` to match its behavior, which seems correct in the context of how the empty abstract pathname is documented elsewhere in the class.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8024695: Fix merge error; improve get*Space tests

The latest commit 2cde95c  passes all tests in JDK tiers 1-3 on Linux and Windows.

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

PR Comment: https://git.openjdk.org/jdk/pull/22821#issuecomment-2648613136


More information about the core-libs-dev mailing list