8143553: StringBuffer.getByte(byte[], int, byte) should be package private (not protected)
authorsherman
Mon, 23 Nov 2015 10:36:15 -0800
changeset 34326 2bb3b3aea3c5
parent 34325 9752a6661f8e
child 34327 50693d25f4a7
8143553: StringBuffer.getByte(byte[], int, byte) should be package private (not protected) Reviewed-by: thartmann
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);
     }
 }