RFR: 8274750: java/io/File/GetXSpace.java failed: '/dev': 191488 != 190976

Brian Burkhalter bpb at openjdk.java.net
Tue Oct 26 19:10:24 UTC 2021


On Tue, 26 Oct 2021 19:00:44 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Please consider this proposed change to ignore comparing the total size of `/dev` as returned by `DF(1)` and `STAT(2)` on macOS.

Alternative approaches would be to compare `File.getTotalSpace()` with `FileStore.getTotalSpace()` and / or have a tolerance on the comparison.

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

PR: https://git.openjdk.java.net/jdk/pull/6122


More information about the core-libs-dev mailing list