RFR: 8372377: Test java/io/File/GetXSpace.java failed: The system cannot find the path specified
Alan Bateman
alanb at openjdk.org
Tue Jan 6 07:00:50 UTC 2026
On Tue, 6 Jan 2026 01:55:16 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> If on Windows and the `Space` constructor fails with a `RuntimeException`, skip the volume if it is found not to exist. This has been found to be the case for all errors observed recently which appear to be due to the presence of transient volumes.
What would you think about changing Space's constructor to throw IOException to remove the confusing RuntimeException from this test.
For testFile then I assume we should allow it to continue to fail. Something would be very broken in the test environment if the volume containing the temp dir disappears or fails while in use.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29052#issuecomment-3713376081
More information about the core-libs-dev
mailing list