Changes to RandomAccessFile in jdk9
Ivan Gerasimov
ivan.gerasimov at oracle.com
Thu Apr 19 07:34:11 UTC 2018
Hello Enrico!
It must be due to fixing https://bugs.openjdk.java.net/browse/JDK-8168628
With kind regards,
Ivan
On 3/27/18 5:25 AM, Enrico Olivelli wrote:
> Hi,
> moving an application (in this case an Apache Kafka broker v 1.0) to
> oracle jdk 9.0.4 (from 1.8) I have seen that
> RandomAccessFile#setLength is now really allocating disk space, and
> before it seemed to create SPARSE files.
> I am running on linux CentOS on ext4 fs.
> Reverting back to jdk 1.8 and forcing the broker to recreate files
> they are in SPARSE mode
>
>
> Is this an intended behavior change? Is there any pointer to this change?
>
> Regards
> Enrico Olivelli
> --
>
>
> -- Enrico Olivelli
>
--
With kind regards,
Ivan Gerasimov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180419/d480cfa3/attachment.html>
More information about the nio-dev
mailing list