--- old/src/java.base/share/classes/java/lang/AbstractStringBuilder.java 2015-11-19 12:16:44.249483104 -0800 +++ new/src/java.base/share/classes/java/lang/AbstractStringBuilder.java 2015-11-19 12:16:44.045484038 -0800 @@ -1584,7 +1584,7 @@ * @param dstBegin the char index, not offset of byte[] * @param coder the coder of dst[] */ - protected void getBytes(byte dst[], int dstBegin, byte coder) { + void getBytes(byte dst[], int dstBegin, byte coder) { if (this.coder == coder) { System.arraycopy(value, 0, dst, dstBegin << coder, count << coder); } else { // this.coder == LATIN && coder == UTF16 @@ -1593,7 +1593,7 @@ } /* for readObject() */ - protected void initBytes(char[] value, int off, int len) { + void initBytes(char[] value, int off, int len) { if (String.COMPACT_STRINGS) { this.value = StringUTF16.compress(value, off, len); if (this.value != null) {