Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > b5e52bbfb4bb11a6cbed452927fba979 > files > 46

gcc-4.1.2-50.el5.src.rpm

2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>

	PR classpath/29703
	* java/util/regex/Matcher.java(reset): Reset inputCharIndexed. 

--- libjava/classpath/java/util/regex/Matcher.java.orig	2006-08-25 05:06:23.000000000 -0700
+++ libjava/classpath/java/util/regex/Matcher.java	2006-11-07 12:10:00.000000000 -0800
@@ -278,6 +278,7 @@
   public Matcher reset (CharSequence input)
   {
     this.input = input;
+    this.inputCharIndexed = RE.makeCharIndexed(input, 0);
     return reset();
   }