Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 04697b95363702139b5a111d371ef9c4 > files > 41

gcc-4.1.2-46.el5_4.2.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();
   }