Hey,
The invalidate() method should be called within the hid() method of
Window.java. This now causes Harmony's
testDispse(test.java.awt.WindowRTest) to pass on Classpath.
Could someone please approve this patch so that I can commit it.
Thanks.
Here's the Changelog Entry:
2006-06-22 Tania Bento <[EMAIL PROTECTED]>
* java/awt/Window.java
(hide): The invalidate() method needs to be called.
Cheers,
Tania
Index: java/awt/Window.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/Window.java,v
retrieving revision 1.72
diff -u -r1.72 Window.java
--- java/awt/Window.java 30 May 2006 16:38:11 -0000 1.72
+++ java/awt/Window.java 22 Jun 2006 19:56:42 -0000
@@ -370,6 +370,7 @@
// Hide visible owned windows.
synchronized (getTreeLock ())
{
+ invalidate();
Iterator e = ownedWindows.iterator();
while(e.hasNext())
{