--- old/src/java.base/share/classes/java/io/FileOutputStream.java 2018-09-28 11:26:30.857908797 +0700 +++ new/src/java.base/share/classes/java/io/FileOutputStream.java 2018-09-28 11:26:30.465908797 +0700 @@ -327,7 +327,7 @@ * end of file * @exception IOException If an I/O error has occurred. */ - private native void writeBytes(byte b[], int off, int len, boolean append) + private native void writeBytes(byte[] b, int off, int len, boolean append) throws IOException; /** @@ -337,7 +337,7 @@ * @param b the data. * @exception IOException if an I/O error occurs. */ - public void write(byte b[]) throws IOException { + public void write(byte[] b) throws IOException { writeBytes(b, 0, b.length, fdAccess.getAppend(fd)); } @@ -350,7 +350,7 @@ * @param len the number of bytes to write. * @exception IOException if an I/O error occurs. */ - public void write(byte b[], int off, int len) throws IOException { + public void write(byte[] b, int off, int len) throws IOException { writeBytes(b, off, len, fdAccess.getAppend(fd)); }