RFR: 8007395 StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters
mandy.chung at oracle.com
Fri Apr 26 20:09:22 UTC 2013
On 4/26/2013 10:25 AM, Xueming Shen wrote:
> Please help review the proposed fix for
> 8007395: StringIndexOutofBoundsException in Match.find() when input
> String contains surrogate UTF-16 characters
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.
More information about the core-libs-dev