RFR: JDK-8080248 Coding regression in HKSCS charsets

Martin Buchholz martinrb at google.com
Thu May 21 21:46:47 UTC 2015


Looks good!

I might add another sweeping random-based test to FindEncoderBugs like this:

try to encode A + B where A and B are randomly chosen single chars or
surrogate pairs, and check that
encode(A + B) == encode(A) + encode(B)



On Thu, May 21, 2015 at 12:51 PM, Xueming Shen <xueming.shen at oracle.com>
wrote:

> Hi Martin,
>
> Would you please help review this change ?
>
> Issue: https://bugs.openjdk.java.net/browse/JDK-8080248
> webrev: http://cr.openjdk.java.net/~sherman/8080248/
>
> Thanks!
> -Sherman
>



More information about the core-libs-dev mailing list