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

Brian Burkhalter bpb at openjdk.org
Thu Nov 10 00:19:04 UTC 2022


On Wed, 9 Nov 2022 21:09:30 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
>> 
>>  - 8291911: Minor formatting cleanup in test
>>  - Merge
>>  - 8291911: work in progress
>>  - 8291911: Account for quotas on Windows.
>>  - 8291911: java/io/File/GetXSpace.java fails with "53687091200 != 161051996160"
>
> test/jdk/java/io/File/GetXSpace.java line 140:
> 
>> 138:         StringBuilder sb = new StringBuilder();
>> 139:         Process p = Runtime.getRuntime().exec(cmd);
>> 140:         try (BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()))) {
> 
> The RHS could be replaced by `p.inputReader()`.  (new in JDK 17)

So changed in 02556f265e1fc5274e73e8cfa75ce218c130112e.

@RogerRiggs Thanks for the review.

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

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


More information about the core-libs-dev mailing list