RFR: 8320348: java.io.File.getAbsolutePath fails if working directory is not on drive C

Alan Bateman alanb at openjdk.org
Sat Nov 18 06:53:28 UTC 2023


On Fri, 17 Nov 2023 21:51:06 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> The method `windowsDriveRelative` of the test `java/io/File/GetAbsolutePath` was incorrectly translated from its previous version to the current JUnit 5 version.

The test fix looks okay but the title on the issue is confusing, it suggests that File.getAbsolutePath is broken so I've renamed the JBS issue, hope that is okay.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16720#pullrequestreview-1738272664


More information about the core-libs-dev mailing list