--- old/src/java.base/share/classes/java/io/Writer.java 2018-09-28 11:28:20.385908797 +0700 +++ new/src/java.base/share/classes/java/io/Writer.java 2018-09-28 11:28:19.965908797 +0700 @@ -209,7 +209,7 @@ * @throws IOException * If an I/O error occurs */ - public void write(char cbuf[]) throws IOException { + public void write(char[] cbuf) throws IOException { write(cbuf, 0, cbuf.length); } @@ -234,7 +234,7 @@ * @throws IOException * If an I/O error occurs */ - public abstract void write(char cbuf[], int off, int len) throws IOException; + public abstract void write(char[] cbuf, int off, int len) throws IOException; /** * Writes a string. @@ -277,7 +277,7 @@ */ public void write(String str, int off, int len) throws IOException { synchronized (lock) { - char cbuf[]; + char[] cbuf; if (len <= WRITE_BUFFER_SIZE) { if (writeBuffer == null) { writeBuffer = new char[WRITE_BUFFER_SIZE];