Changes to RandomAccessFile in jdk9

Enrico Olivelli eolivelli at gmail.com
Sun Apr 22 20:42:10 UTC 2018


Il dom 22 apr 2018, 21:32 Alan Bateman <Alan.Bateman at oracle.com> ha scritto:

> On 22/04/2018 20:13, Enrico Olivelli wrote:
> > :
> >
> > Thank you Alan,
> > Do you think we can hope for a fix in Java 10.0.01 ?
> >
> I have an initial patch that restores RandomAccessFile.setLength It also
> fixes FileChannel.map so that it only attempts to allocate the disk
> space when region to map overlaps with a hole in a sparse file.
>
> 10.0.1 was released last week. 10.0.2 is planned for July 2018. Once the
> changes are in jdk/jdk (for JDK 11) then we can discuss whether it's
> worth trying to get the changes into jdk-updates/jdk10u.
>

Oh, I missed that release.
I will stay tuned.

Best regards
Entity

>
> -Alan
>
>
> --


-- Enrico Olivelli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180422/feeb8f0b/attachment.html>


More information about the nio-dev mailing list