Recent Java 9 commit (e5b66323ae45) breaks fsync on directory

Brian Burkhalter brian.burkhalter at oracle.com
Tue May 19 14:29:22 UTC 2015


Status update ,,,

On May 18, 2015, at 12:04 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

> We have revised our approach to this (pair or trio of) problem(s). The following sequence of actions is proposed.
> 
> 1. Revert the patch which fixed https://bugs.openjdk.java.net/browse/JDK-8066915, (fs) Files.newByteChannel opens directories for cases where subsequent reads may fail, which instigated the present situation. I will file and post the link to a new Issue for this.

Please note that this patch has been pushed:

http://hg.openjdk.java.net/jdk9/dev/jdk/rev/eb7d3e11a8cb

Things in the JDK 9 dev branch are at least back to where they used to be.

> 2. Work on a fix for https://bugs.openjdk.java.net/browse/JDK-8080589, (fc) FileChannel.force should use fcntl(F_FULLFSYNC) instead of fsync on OS X.

Work in progress.

Thanks,

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


More information about the nio-dev mailing list