src/java.base/share/classes/java/io/FileOutputStream.java
changeset 47235 9ef10c6e67b8
parent 47216 71c04702a3d5
child 47460 b6d959fae9ef
--- 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 {