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

Brian Burkhalter bpb at openjdk.org
Wed Feb 26 16:27:07 UTC 2025


On Thu, 19 Dec 2024 00:36:44 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 9477c705
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9477c705c0bd5ce2d445abb5ca44d46656fc315f
Stats:     306 lines in 5 files changed: 262 ins; 1 del; 43 mod

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

Reviewed-by: alanb, rriggs, lancea

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

PR: https://git.openjdk.org/jdk/pull/22821


More information about the core-libs-dev mailing list