This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Patch: java.awt.Window


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I commited the attached patch to trunk to fix an endless loop bug.
This patch will go into classpath soon.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+ri9UWSOgCCdjSDsRApewAJ4sT/9LZXUCbXlcoAl5rWWAYqZOxwCdHKyJ
OAQ9Wm21m0MitzFALH/Mj/0=
=PtR9
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1858
diff -u -r1.1858 ChangeLog
--- ChangeLog	29 Apr 2003 07:37:13 -0000	1.1858
+++ ChangeLog	29 Apr 2003 07:50:17 -0000
@@ -1,5 +1,13 @@
 2003-04-29  Michael Koch  <konqueror at gmx dot de>
 
+	* java/awt/Window.java
+	(show): Call super.show() instead of setVisible() to avoid endless
+	loop.
+	(hide): Call super.hide() instead of setVisible() to avoid endless
+	loop.
+
+2003-04-29  Michael Koch  <konqueror at gmx dot de>
+
 	* java/util/zip/Deflater.java,
 	java/util/zip/DeflaterOutputStream.java:
 	Partly merged with classpath.
Index: java/awt/Window.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/Window.java,v
retrieving revision 1.19
diff -u -r1.19 Window.java
--- java/awt/Window.java	17 Mar 2003 15:20:10 -0000	1.19
+++ java/awt/Window.java	29 Apr 2003 07:50:18 -0000
@@ -213,14 +213,14 @@
       addNotify();
 
     validate();
-    setVisible (true);
+    super.show();
     toFront();
   }
 
   public void hide()
   {
     // FIXME: call hide() on any "owned" children here.
-    setVisible (false);
+    super.hide();
   }
 
   public boolean isDisplayable()

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]