--- old/src/java.base/share/classes/java/io/PushbackReader.java 2018-09-28 11:27:43.465908797 +0700 +++ new/src/java.base/share/classes/java/io/PushbackReader.java 2018-09-28 11:27:42.333908797 +0700 @@ -104,7 +104,7 @@ * @exception IOException If an I/O error occurs * @exception IndexOutOfBoundsException {@inheritDoc} */ - public int read(char cbuf[], int off, int len) throws IOException { + public int read(char[] cbuf, int off, int len) throws IOException { synchronized (lock) { ensureOpen(); try { @@ -172,7 +172,7 @@ * @exception IOException If there is insufficient room in the pushback * buffer, or if some other I/O error occurs */ - public void unread(char cbuf[], int off, int len) throws IOException { + public void unread(char[] cbuf, int off, int len) throws IOException { synchronized (lock) { ensureOpen(); if (len > pos) @@ -193,7 +193,7 @@ * @exception IOException If there is insufficient room in the pushback * buffer, or if some other I/O error occurs */ - public void unread(char cbuf[]) throws IOException { + public void unread(char[] cbuf) throws IOException { unread(cbuf, 0, cbuf.length); }