7057369: (fs spec) FileStore getUsableSpace and getUnallocatedSpace could be clearer#17271
7057369: (fs spec) FileStore getUsableSpace and getUnallocatedSpace could be clearer#17271bplb wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
/csr |
|
👋 Welcome back bpb! A progress list of the required criteria for merging this PR into |
|
@bplb has indicated that a compatibility and specification (CSR) request is needed for this pull request. @bplb please create a CSR request for issue JDK-7057369 with the correct fix version. This pull request cannot be integrated until the CSR request is approved. |
Webrevs
|
| * of this Java virtual machine. | ||
| * | ||
| * @return the number of bytes available | ||
| * @return the number of bytes available at the time of invocation |
There was a problem hiding this comment.
It might be simpler to just say "the current number of usable bytes".
| * Returns the number of bytes of the file store available to this Java | ||
| * virtual machine as of invoking this method. If the number of bytes | ||
| * available is greater than {@link Long#MAX_VALUE}, then | ||
| * {@code Long.MAX_VALUE} will be returned. |
There was a problem hiding this comment.
I think the original paragraph is okay. The change to the second paragraph looks good.
|
@bplb This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 66 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
Going to push as commit 475306b.
Your commit was automatically rebased without conflicts. |
Attempt to clarify when the values returned for a
FileStores usable and unallocated space are initialized and likely to be valid.Progress
Issues
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/17271/head:pull/17271$ git checkout pull/17271Update a local copy of the PR:
$ git checkout pull/17271$ git pull https://git.openjdk.org/jdk.git pull/17271/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 17271View PR using the GUI difftool:
$ git pr show -t 17271Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/17271.diff
Webrev
Link to Webrev Comment