RFR: 8372377: Test java/io/File/GetXSpace.java failed: The system cannot find the path specified [v2]

Brian Burkhalter bpb at openjdk.org
Tue Jan 6 21:06:30 UTC 2026


On Tue, 6 Jan 2026 20:58:28 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> The update to have getSpace0 throw IOException is good. There are now 2 cases in that native method where is throws IOException for non-I/O reasons, specifically when GetStringChars or malloc fails. You might want to revert those two as IOException doesn't make sense.

Indeed I realized that myself since pushing the last commit. Will update those and isCDDrive.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29052#discussion_r2666280099


More information about the core-libs-dev mailing list