RFR: 8024695: new File("").exists() returns false whereas it is the current working directory
Brian Burkhalter
bpb at openjdk.org
Thu Dec 19 00:43:53 UTC 2024
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.
-------------
Commit messages:
- 8024695: new File("").exists() returns false whereas it is the current working directory
Changes: https://git.openjdk.org/jdk/pull/22821/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22821&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8024695
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/22821.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22821/head:pull/22821
PR: https://git.openjdk.org/jdk/pull/22821
More information about the core-libs-dev
mailing list