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

Alan Bateman Alan.Bateman at oracle.com
Wed Oct 30 09:06:16 UTC 2019


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.

-Alan


More information about the nio-dev mailing list