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 <[email protected]> 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 >
