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

Alan Bateman Alan.Bateman at oracle.com
Thu Oct 3 16:17:34 UTC 2019


On 01/10/2019 17:07, Brian Burkhalter wrote:
> :
>
> Here is an updated version with default instead of abstract methods:
>
> http://cr.openjdk.java.net/~bpb/8162520/webrev.01/
The default methods look right. I'm not sure about the change to the 
existing methods to specify a negative value. That isn't going to work 
with code that calls say getUnallocatedSpace() to get an idea on whether 
there is enough space to create a large file. You'll probably end up 
picking the best of a bad bunch so finding at least some usages of the 
existing methods may help.

-Alan


More information about the nio-dev mailing list