--- old/src/java.base/share/classes/java/io/FileInputStream.java 2018-09-28 11:26:29.377908797 +0700
+++ new/src/java.base/share/classes/java/io/FileInputStream.java 2018-09-28 11:26:29.001908797 +0700
@@ -240,7 +240,7 @@
* @param len the number of bytes that are written
* @exception IOException If an I/O error has occurred.
*/
- private native int readBytes(byte b[], int off, int len) throws IOException;
+ private native int readBytes(byte[] b, int off, int len) throws IOException;
/**
* Reads up to b.length
bytes of data from this input
@@ -253,7 +253,7 @@
* the file has been reached.
* @exception IOException if an I/O error occurs.
*/
- public int read(byte b[]) throws IOException {
+ public int read(byte[] b) throws IOException {
return readBytes(b, 0, b.length);
}
@@ -275,7 +275,7 @@
* b.length - off
* @exception IOException if an I/O error occurs.
*/
- public int read(byte b[], int off, int len) throws IOException {
+ public int read(byte[] b, int off, int len) throws IOException {
return readBytes(b, off, len);
}