It has been observed that these methods don't make it clear that they return up to date values. Someone porting the code to another platform asked whether they could return the values obtained at the time that the FileStore is created but that was never the intention. In addition the wording using the phrase "space attributes" which isn't clear and probably stems from a previous revision of the API.
- csr for
-
JDK-8323084 (fs spec) FileStore getUsableSpace and getUnallocatedSpace could be clearer
- Closed