--- old/src/java.base/share/classes/sun/nio/cs/StreamDecoder.java 2018-09-28 11:30:38.141908797 +0700 +++ new/src/java.base/share/classes/sun/nio/cs/StreamDecoder.java 2018-09-28 11:30:37.741908797 +0700 @@ -123,7 +123,7 @@ } // Convert more bytes - char cb[] = new char[2]; + char[] cb = new char[2]; int n = read(cb, 0, 2); switch (n) { case -1: @@ -141,7 +141,7 @@ } } - public int read(char cbuf[], int offset, int length) throws IOException { + public int read(char[] cbuf, int offset, int length) throws IOException { int off = offset; int len = length; synchronized (lock) {