# HG changeset patch # User sherman # Date 1448303775 28800 # Node ID 2bb3b3aea3c514cce5bcc91a1fc8ebd2707f879b # Parent 9752a6661f8e5150c8d2b56225247ae834ced1dc 8143553: StringBuffer.getByte(byte[], int, byte) should be package private (not protected) Reviewed-by: thartmann diff -r 9752a6661f8e -r 2bb3b3aea3c5 jdk/src/java.base/share/classes/java/lang/StringBuffer.java --- a/jdk/src/java.base/share/classes/java/lang/StringBuffer.java Mon Nov 23 08:11:25 2015 -0800 +++ b/jdk/src/java.base/share/classes/java/lang/StringBuffer.java Mon Nov 23 10:36:15 2015 -0800 @@ -730,7 +730,7 @@ count = fields.get("count", 0); } - protected synchronized void getBytes(byte dst[], int dstBegin, byte coder) { + synchronized void getBytes(byte dst[], int dstBegin, byte coder) { super.getBytes(dst, dstBegin, coder); } }