--- old/src/java.base/share/classes/java/io/Reader.java 2018-09-28 11:28:00.969908797 +0700 +++ new/src/java.base/share/classes/java/io/Reader.java 2018-09-28 11:27:59.545908797 +0700 @@ -206,7 +206,7 @@ * @exception IOException If an I/O error occurs */ public int read() throws IOException { - char cb[] = new char[1]; + char[] cb = new char[1]; if (read(cb, 0, 1) == -1) return -1; else @@ -225,7 +225,7 @@ * * @exception IOException If an I/O error occurs */ - public int read(char cbuf[]) throws IOException { + public int read(char[] cbuf) throws IOException { return read(cbuf, 0, cbuf.length); } @@ -246,13 +246,13 @@ * If {@code off} is negative, or {@code len} is negative, * or {@code len} is greater than {@code cbuf.length - off} */ - public abstract int read(char cbuf[], int off, int len) throws IOException; + public abstract int read(char[] cbuf, int off, int len) throws IOException; /** Maximum skip-buffer size */ private static final int maxSkipBufferSize = 8192; /** Skip buffer, null until allocated */ - private char skipBuffer[] = null; + private char[] skipBuffer = null; /** * Skips characters. This method will block until some characters are