RFR: 8024695: new File("").exists() returns false whereas it is the current working directory [v6]
Brian Burkhalter
bpb at openjdk.org
Thu Feb 20 03:15:39 UTC 2025
> 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: Extend and clean up test
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/22821/files
- new: https://git.openjdk.org/jdk/pull/22821/files/2cde95cb..22d4fb93
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=22821&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=22821&range=04-05
Stats: 98 lines in 1 file changed: 71 ins; 5 del; 22 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