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

Lance Andersen lancea at openjdk.org
Thu Dec 19 17:10:35 UTC 2024


On Thu, 19 Dec 2024 00:36:44 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.

Marked as reviewed by lancea (Reviewer).

Marked as reviewed by lancea (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/22821#pullrequestreview-2515622208
PR Review: https://git.openjdk.org/jdk/pull/22821#pullrequestreview-2515624313


More information about the core-libs-dev mailing list