On 05/02/2015 19:00, Xueming Shen wrote:
Hi,

Please help review the fix for #8030179

issue: https://bugs.openjdk.java.net/browse/JDK-8030179
webrev: http://cr.openjdk.java.net/~sherman/8030179/webrev

This is the regression bug introduced in jdk7 when trying to optimize the single byte encoding loop, in which the "optimization" code inappropriately updates the "sl" (source limit) value and triggers misbehavior of the sgp parser (in which it mistakenly returns "underflow" when it sees a high surrogate but can't see the next
low surrogate, because the "sl" is changed...)
Good to see this one tracked down. The fix looks okay.

I agree with Paul on the test, we have better infrastructure now.

-Alan.

Reply via email to