jdk/src/share/classes/java/io/FileInputStream.java
changeset 22946 0a1379d15976
parent 22945 89dd803515d8
child 24865 09b1d992ca72
--- a/jdk/src/share/classes/java/io/FileInputStream.java	Mon Feb 10 12:59:31 2014 +0100
+++ b/jdk/src/share/classes/java/io/FileInputStream.java	Mon Feb 10 13:00:50 2014 +0100
@@ -194,7 +194,11 @@
      *             file is reached.
      * @exception  IOException  if an I/O error occurs.
      */
-    public native int read() throws IOException;
+    public int read() throws IOException {
+        return read0();
+    }
+
+    private native int read0() throws IOException;
 
     /**
      * Reads a subarray as a sequence of bytes.