8227609: (fs) Files.newInputStream(...).skip(n) should allow skipping beyond file size

Brian Burkhalter brian.burkhalter at oracle.com
Fri Jul 26 15:14:26 UTC 2019


> On Jul 26, 2019, at 8:06 AM, Florian Weimer <fweimer at redhat.com> wrote:
> 
> On ext4?  The EINVAL depends on the file system.  XFS supports arbitrary
> offsets, but ext4 does not, for example.

I don’t know the FS type yet.

> We discussed this recently on another thread:
> 
> From: Karan Mehta <k.mehta at salesforce.com <mailto:k.mehta at salesforce.com>>
> Date: Tue, 4 Jun 2019 10:13:05 -0700
> Subject: Invalid argument exception when trying to seek FilePosition to

Thanks for the reference.

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


More information about the nio-dev mailing list