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

Alan Bateman Alan.Bateman at oracle.com
Mon Nov 25 14:35:00 UTC 2019


On 15/11/2019 22:40, Brian Burkhalter wrote:
>
>> On Nov 15, 2019, at 2:59 AM, Alan Bateman <Alan.Bateman at oracle.com 
>> <mailto:Alan.Bateman at oracle.com>> wrote:
>>
>> 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.
>
> I’ve updated the patch [1] to address this. The difference versus 
> webrev.00 is [2].
>
Looks okay to me.

-Alan


More information about the core-libs-dev mailing list