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

Brian Burkhalter bpb at openjdk.org
Fri Feb 21 17:38:30 UTC 2025


> Modify the implementation of `java.io.File` so that it correctly handles the empty path `""`.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8024695: Check only that space is positive

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22821/files
  - new: https://git.openjdk.org/jdk/pull/22821/files/a3b7977e..689480f3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22821&range=07
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22821&range=06-07

  Stats: 3 lines in 1 file changed: 0 ins; 2 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