On 4/26/2013 10:25 AM, Xueming Shen wrote:
HiPlease help review the proposed fix for8007395: StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 charactershttp://cr.openjdk.java.net/~sherman/8007395/webrev
This looks fine with me.The new test case you add in RegExTest.java catches the exception. It might be better to let the exception thrown as in the existing test cases that will make it easier to diagnose in such error case.
Mandy