--- old/src/java.base/share/classes/sun/text/CompactByteArray.java 2018-09-28 11:30:48.509908797 +0700 +++ new/src/java.base/share/classes/sun/text/CompactByteArray.java 2018-09-28 11:30:48.089908797 +0700 @@ -93,8 +93,8 @@ * @param newValues the values of the compact array. * @exception IllegalArgumentException If index is out of range. */ - public CompactByteArray(short indexArray[], - byte newValues[]) + public CompactByteArray(short[] indexArray, + byte[] newValues) { int i; if (indexArray.length != INDEXCOUNT) @@ -244,7 +244,7 @@ /** For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public short getIndexArray()[] + public short[] getIndexArray() { return indices; } @@ -252,7 +252,7 @@ /** For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public byte getStringArray()[] + public byte[] getStringArray() { return values; } @@ -346,7 +346,7 @@ private static final int BLOCKMASK = BLOCKCOUNT - 1; private byte[] values; // char -> short (char parameterized short) - private short indices[]; + private short[] indices; private boolean isCompact; private int[] hashes; };