This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Remove Window.java hack
- To: java-patches at sources dot redhat dot com
- Subject: Remove Window.java hack
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Tue, 19 Dec 2000 10:21:18 +1300
2000-12-18 Bryce McKinlay <bryce@albatross.co.nz>
* java/awt/Window.java (addNotify): Remove peer casting hack now that
gcj/312 is fixed.
Index: java/awt/Window.java
===================================================================
RCS file: /cvs/gcc/egcs/libjava/java/awt/Window.java,v
retrieving revision 1.7
diff -u -r1.7 Window.java
--- Window.java 2000/10/02 05:14:25 1.7
+++ Window.java 2000/12/18 21:16:22
@@ -102,8 +102,7 @@
public void addNotify()
{
if (peer == null)
- // FIXME: This cast should NOT be required. ??? Compiler bug
???
- peer = (ComponentPeer) getToolkit ().createWindow (this);
+ peer = getToolkit ().createWindow (this);
super.addNotify ();
}