8162520: (fs) FileStore should support file stores with > Long.MAX_VALUE capacity

Brian Burkhalter brian.burkhalter at oracle.com
Wed Oct 30 15:03:22 UTC 2019


> On Oct 30, 2019, at 2:06 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> On 29/10/2019 22:30, Peter Levart wrote:
>> 
>> There is a carrier type with greater (i.e. unlimited) bit depth available - BigInteger. Why not add 3 methods (getBigXxx...) to return sizes in BigInteger bytes? These are not performance critical methods and hence waiting for value types is not absolutely necessary.
>> 
>> What do you think?
> BigInteger was on Brian's initial set of options but would look unusual here. I think we'd like to defer extending this API for as long as possible so that we have the option to return a 128 or 256-bit result.

Does this constitute approval for the current patch? Perhaps another issue should be filed for the new return type yet to be determined?

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20191030/21781210/attachment.html>


More information about the nio-dev mailing list