--- old/src/java.base/share/classes/java/io/PipedReader.java 2018-09-28 11:27:19.477908797 +0700 +++ new/src/java.base/share/classes/java/io/PipedReader.java 2018-09-28 11:27:18.125908797 +0700 @@ -53,7 +53,7 @@ /** * The circular buffer into which incoming data is placed. */ - char buffer[]; + char[] buffer; /** * The index of the position in the circular buffer at which the @@ -201,7 +201,7 @@ * Receives data into an array of characters. This method will * block until some input is available. */ - synchronized void receive(char c[], int off, int len) throws IOException { + synchronized void receive(char[] c, int off, int len) throws IOException { while (--len >= 0) { receive(c[off++]); } @@ -288,7 +288,7 @@ * or an I/O error occurs. * @exception IndexOutOfBoundsException {@inheritDoc} */ - public synchronized int read(char cbuf[], int off, int len) throws IOException { + public synchronized int read(char[] cbuf, int off, int len) throws IOException { if (!connected) { throw new IOException("Pipe not connected"); } else if (closedByReader) {