8143553: StringBuffer.getByte(byte[], int, byte) should be package private (not protected)
Reviewed-by: thartmann
--- 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);
}
}