hg: jdk8/tl/jdk: 7067045: replaceAll("\u20ac", "$"); causses java.lang.StringIndexOutOfBoundsExceptio

xueming.shen at oracle.com xueming.shen at oracle.com
Thu Apr 12 14:57:18 PDT 2012


Changeset: e65a1756d825
Author:    sherman
Date:      2012-04-12 15:01 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e65a1756d825

7067045: replaceAll("\u20ac", "$"); causses java.lang.StringIndexOutOfBoundsExceptio
Summary: Updated to throw IAE instead.
Reviewed-by: lancea

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




More information about the security-dev mailing list