Hi,
Window.isDisplayable shouldn't call Component.isDisplayable.
Component.isDisplayable checks if its parents are displayable but that
doesn't matter to a window. A window is displayable if its peer is not
null -- no other test is required. I committed this fix and I will
commit the corresponding Mauve tests shortly.
Tom
2005-09-09 Thomas Fitzsimmons <[EMAIL PROTECTED]>
* java/awt/Window.java (isDisplayable): Do not call super's
isDisplayable.
Index: java/awt/Window.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/Window.java,v
retrieving revision 1.53
diff -u -r1.53 Window.java
--- java/awt/Window.java 21 Aug 2005 00:28:31 -0000 1.53
+++ java/awt/Window.java 9 Sep 2005 20:12:40 -0000
@@ -348,8 +348,6 @@
public boolean isDisplayable()
{
- if (super.isDisplayable())
- return true;
return peer != null;
}
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches