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

Brian Burkhalter brian.burkhalter at oracle.com
Tue Oct 1 16:07:22 UTC 2019


> On Oct 1, 2019, at 8:04 AM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:
> 
>> On Oct 1, 2019, at 7:59 AM, Alan Bateman <Alan.Bateman at oracle.com <mailto:Alan.Bateman at oracle.com>> wrote:
>> 
>> On 01/10/2019 15:36, Brian Burkhalter wrote:
>>> Here is a stab [1] at fixing [2] using the above approach.
>>> 
>> If we go with this approach then the new methods will need default implementations that throw UOE (and UOE will need to be specified too). This is because there are several FileSystemProvider implementations in the wild. It's good to get the jrt and zip providers updated of course.
> 
> I actually first wrote a version with default implementations instead of abstract methods but changed my mind. I’ll revert it and clean it up.

Here is an updated version with default instead of abstract methods:

http://cr.openjdk.java.net/~bpb/8162520/webrev.01/

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


More information about the nio-dev mailing list