OSDN Git Service

2010-07-30 Andrew Haley <aph@redhat.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jul 2010 10:49:36 +0000 (10:49 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jul 2010 10:49:36 +0000 (10:49 +0000)
        * javax/print/attribute/standard/JobStateReasons.java (add): Fix
        infinite recursion with call to super.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162708 138bc75d-0d04-0410-961f-82ee72b054a4

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

index b7a9a4c..a7ee39f 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 503c06c..6c7a9f4 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 f9cc7b3..5668b66 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