RFR JDK-8143330: No appropriate CCC request for two new protected methods added in JDK9b93 by JDK-8141132

Tobias Hartmann tobias.hartmann at oracle.com
Fri Nov 20 09:41:44 UTC 2015

Hi Sherman,

On 19.11.2015 21:27, Xueming Shen wrote:
> Hi
> Please help review the change for 8143330.
> Issue: https://bugs.openjdk.java.net/browse/JDK-8143330
> webrev: http://cr.openjdk.java.net/~sherman/8143330/webrev

What about this

733     protected synchronized void getBytes(byte dst[], int dstBegin, byte coder) {
734         super.getBytes(dst, dstBegin, coder);
735     }

which was added to StringBuffer?


> Cause: two implementation methods ABS.getBytes/initBytes were
> mistakenly declared as "protected" and exposed to the public. Both
> should be package private.
> Thanks,
> Sherman

More information about the core-libs-dev mailing list