RFR: 8007395 StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters (original) (raw)
Mandy Chung mandy.chung at oracle.com
Fri Apr 26 20:09:22 UTC 2013
- Previous message: RFR: 8007395 StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters
- Next message: RFR: 8007395 StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 4/26/2013 10:25 AM, Xueming Shen wrote:
Hi
Please help review the proposed fix for 8007395: StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters http://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
- Previous message: RFR: 8007395 StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters
- Next message: RFR: 8007395 StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]