hg: jdk8/tl/jdk: 8007395: StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters

xueming.shen at oracle.com xueming.shen at oracle.com
Fri Apr 26 14:00:13 PDT 2013


Changeset: 5144db7f0f88
Author:    sherman
Date:      2013-04-26 13:59 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5144db7f0f88

8007395: StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters
Summary: updated GroupCurly.match0() to backtrack correctly
Reviewed-by: mchung

! src/share/classes/java/util/regex/Pattern.java
! test/java/util/regex/RegExTest.java



More information about the security-dev mailing list