Changes to RandomAccessFile in jdk9
Enrico Olivelli
eolivelli at gmail.com
Tue Mar 27 12:26:09 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180327/7cbf39bb/attachment.html>
More information about the nio-dev
mailing list