diff options
author | Andrew Haley <aph@redhat.com> | 2010-07-30 10:49:36 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2010-07-30 10:49:36 +0000 |
commit | 02c3d2ec47d2d4d59ccc10db00bb11e9f6efa93d (patch) | |
tree | 69120baa2942c217cceb43b418d0204c81c08989 /libjava | |
parent | 4eb3f32c268f5b3f769d8b17eae32e88b9934e35 (diff) | |
download | gcc-02c3d2ec47d2d4d59ccc10db00bb11e9f6efa93d.zip gcc-02c3d2ec47d2d4d59ccc10db00bb11e9f6efa93d.tar.gz gcc-02c3d2ec47d2d4d59ccc10db00bb11e9f6efa93d.tar.bz2 |
JobStateReasons.java (add): Fix infinite recursion with call to super.
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
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/classpath/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/classpath/javax/print/attribute/standard/JobStateReasons.java | 2 | ||||
-rw-r--r-- | libjava/classpath/lib/javax/print/attribute/standard/JobStateReasons.class | bin | 2137 -> 2147 bytes |
3 files changed, 6 insertions, 1 deletions
diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog index b7a9a4c..a7ee39f 100644 --- a/libjava/classpath/ChangeLog +++ b/libjava/classpath/ChangeLog @@ -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. diff --git a/libjava/classpath/javax/print/attribute/standard/JobStateReasons.java b/libjava/classpath/javax/print/attribute/standard/JobStateReasons.java index 503c06c..6c7a9f4 100644 --- a/libjava/classpath/javax/print/attribute/standard/JobStateReasons.java +++ b/libjava/classpath/javax/print/attribute/standard/JobStateReasons.java @@ -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); } /** diff --git a/libjava/classpath/lib/javax/print/attribute/standard/JobStateReasons.class b/libjava/classpath/lib/javax/print/attribute/standard/JobStateReasons.class Binary files differindex f9cc7b3..5668b66 100644 --- a/libjava/classpath/lib/javax/print/attribute/standard/JobStateReasons.class +++ b/libjava/classpath/lib/javax/print/attribute/standard/JobStateReasons.class |