RFR: 8291911: java/io/File/GetXSpace.java fails with "53687091200 != 161051996160" [v2]

Brian Burkhalter bpb at openjdk.org
Wed Aug 17 17:59:35 UTC 2022


On Fri, 12 Aug 2022 15:13:06 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8291911: Account for quotas on Windows.
>
> test/jdk/java/io/File/GetXSpace.java line 244:
> 
>> 242:                 // reported by df might be less that the actual total space in
>> 243:                 // the store, but the free space should be the same.
>> 244:                 if (!(Platform.isWindows() && ts > s.total && fs == s.free())) {
> 
> Unsure of the conditional here, in particular whether `fs == s.free()` is needed. Also, when failure is suppressed here, an informational print might be useful.

Changed the conditional in 991dc9a6bf86e3ec54fd1c244c655a86506a697d.

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

PR: https://git.openjdk.org/jdk/pull/9856


More information about the core-libs-dev mailing list