8179320: File.getUsableSpace() returns a negative number on very large file system

Alan Bateman Alan.Bateman at oracle.com
Fri Nov 15 10:59:33 UTC 2019


On 02/11/2019 00:13, Brian Burkhalter wrote:
> For this issue [1], please review this patch [2] and the corresponding CSR [3].
>
>
One thing that isn't clear is how these methods behave when the space 
info can't be obtained. It is specified to return 0L when the path is 
not "a partition" but I think it also returns 0L when the information 
cannot be obtained.

-Alan


More information about the core-libs-dev mailing list