--- old/src/java.base/share/classes/sun/text/normalizer/ICUBinary.java 2018-09-28 11:30:55.937908797 +0700 +++ new/src/java.base/share/classes/sun/text/normalizer/ICUBinary.java 2018-09-28 11:30:55.365908797 +0700 @@ -47,7 +47,7 @@ private static final class IsAcceptable implements Authenticate { @Override - public boolean isDataVersionAcceptable(byte version[]) { + public boolean isDataVersionAcceptable(byte[] version) { return version[0] == 1; } } @@ -65,7 +65,7 @@ * @param version version of the current data * @return true if dataformat is an acceptable version, false otherwise */ - public boolean isDataVersionAcceptable(byte version[]); + public boolean isDataVersionAcceptable(byte[] version); } // public methods -------------------------------------------------------- @@ -110,7 +110,7 @@ private static final byte BIG_ENDIAN_ = 1; public static final byte[] readHeader(InputStream inputStream, - byte dataFormatIDExpected[], + byte[] dataFormatIDExpected, Authenticate authenticate) throws IOException { @@ -139,13 +139,13 @@ input.readByte(); // reading reserved byte readcount ++; - byte dataFormatID[] = new byte[4]; + byte[] dataFormatID = new byte[4]; input.readFully(dataFormatID); readcount += 4; - byte dataVersion[] = new byte[4]; + byte[] dataVersion = new byte[4]; input.readFully(dataVersion); readcount += 4; - byte unicodeVersion[] = new byte[4]; + byte[] unicodeVersion = new byte[4]; input.readFully(unicodeVersion); readcount += 4; if (headersize < readcount) {