RFR: 8343342: java/io/File/GetXSpace.java fails on Windows with CD-ROM drive [v8]

Brian Burkhalter bpb at openjdk.org
Fri Dec 13 23:24:36 UTC 2024


On Fri, 13 Dec 2024 21:10:31 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Perhaps the output of `df` is not being parsed correctly?

Actually I am getting

df: 'D:': No such file or directory

as the first line returned by the process that runs `df` when I run the test in Cygwin. On the command line this does not happen:

bpb:jdk{143}$ uname
CYGWIN_NT-10.0-22631
bpb:jdk{144}$ df -k -P D:\\
Filesystem     1024-blocks   Used Available Capacity Mounted on
D:                  493658 493658         0     100% /cygdrive/d
bpb:jdk{145}$ df -k -P /cygdrive/d
Filesystem     1024-blocks   Used Available Capacity Mounted on
D:                  493658 493658         0     100% /cygdrive/d

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

PR Comment: https://git.openjdk.org/jdk/pull/21799#issuecomment-2542538266


More information about the core-libs-dev mailing list