Hi again,

Yesterday I checked in a change to java.awt.Component. Today I wrote a
testcase for that (bad me, I should really do that before starting to
code) that shows that this fix was wrong. I revert that.

2005-11-08  Roman Kennke  <[EMAIL PROTECTED]>

        * java/awt/Component.java
        (invalidate): Don't invalidate invalid parents.

/Roman
Index: java/awt/Component.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/Component.java,v
retrieving revision 1.85
diff -u -r1.85 Component.java
--- java/awt/Component.java	7 Nov 2005 22:31:25 -0000	1.85
+++ java/awt/Component.java	8 Nov 2005 11:46:05 -0000
@@ -1720,7 +1720,7 @@
     valid = false;
     prefSize = null;
     minSize = null;
-    if (parent != null)
+    if (parent != null && parent.isValid())
       parent.invalidate();
   }
 
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to