]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
JobStateReasons.java (add): Fix infinite recursion with call to super.
authorAndrew Haley <aph@redhat.com>
Fri, 30 Jul 2010 10:49:36 +0000 (10:49 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Fri, 30 Jul 2010 10:49:36 +0000 (10:49 +0000)
2010-07-30  Andrew Haley  <aph@redhat.com>

        * javax/print/attribute/standard/JobStateReasons.java (add): Fix
        infinite recursion with call to super.

From-SVN: r162708

libjava/classpath/ChangeLog
libjava/classpath/javax/print/attribute/standard/JobStateReasons.java
libjava/classpath/lib/javax/print/attribute/standard/JobStateReasons.class

index b7a9a4c92cdba19c517fcb9721510896c3741ff7..a7ee39fdc79d48b7999582e4212806b28814e633 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-30  Andrew Haley  <aph@redhat.com>
+
+       * javax/print/attribute/standard/JobStateReasons.java (add): Fix
+       infinite recursion with call to super.
+
 2010-06-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * scripts/check_jni_methods.sh.in: Don't use diff -U.
index 503c06c0290ee05b1e5d9c41ae0caf6c8930f7f8..6c7a9f4aad47fdc4c95e74070266dc316b5bf9ab 100644 (file)
@@ -129,7 +129,7 @@ public final class JobStateReasons extends HashSet<JobStateReason>
     if (o == null)
       throw new NullPointerException("reason is null");  
     
-    return add(o);
+    return super.add(o);
   }
   
   /**
index f9cc7b3e866cc5085a3ae68b12095865447c3ddd..5668b66646195d83e03a95daae56a158ef734b56 100644 (file)
Binary files a/libjava/classpath/lib/javax/print/attribute/standard/JobStateReasons.class and b/libjava/classpath/lib/javax/print/attribute/standard/JobStateReasons.class differ