diff -r 5ee94c2e087e -r 9ef10c6e67b8 src/java.base/share/classes/java/io/FileOutputStream.java --- a/src/java.base/share/classes/java/io/FileOutputStream.java Wed Sep 20 15:22:21 2017 -0700 +++ b/src/java.base/share/classes/java/io/FileOutputStream.java Thu Sep 21 11:41:12 2017 -0400 @@ -365,7 +365,7 @@ fd.closeAll(new Closeable() { public void close() throws IOException { - close0(); + fd.close(); } }); } @@ -458,8 +458,6 @@ } } - private native void close0() throws IOException; - private static native void initIDs(); static {