--- old/src/java.base/share/classes/java/io/PrintWriter.java 2018-09-28 11:27:38.693908797 +0700 +++ new/src/java.base/share/classes/java/io/PrintWriter.java 2018-09-28 11:27:36.405908797 +0700 @@ -500,7 +500,7 @@ * cause the corresponding method of the underlying {@code Writer} * to throw an {@code IndexOutOfBoundsException} */ - public void write(char buf[], int off, int len) { + public void write(char[] buf, int off, int len) { try { synchronized (lock) { ensureOpen(); @@ -520,7 +520,7 @@ * Writer class because it must suppress I/O exceptions. * @param buf Array of characters to be written */ - public void write(char buf[]) { + public void write(char[] buf) { write(buf, 0, buf.length); } @@ -669,7 +669,7 @@ * * @throws NullPointerException If {@code s} is {@code null} */ - public void print(char s[]) { + public void print(char[] s) { write(s); } @@ -803,7 +803,7 @@ * * @param x the array of {@code char} values to be printed */ - public void println(char x[]) { + public void println(char[] x) { synchronized (lock) { print(x); println();