]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Window.java (addNotify): Remove peer casting hack now that gcj/312 is fixed.
authorBryce McKinlay <bryce@albatross.co.nz>
Mon, 18 Dec 2000 21:20:31 +0000 (21:20 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Mon, 18 Dec 2000 21:20:31 +0000 (21:20 +0000)
* java/awt/Window.java (addNotify): Remove peer casting hack now
that gcj/312 is fixed.

From-SVN: r38364

libjava/ChangeLog
libjava/java/awt/Window.java

index 7125e0d6b2a6dd63ceedead4a21cf0a4ce439140..bed53ea01af10a7196cf9039f99678fca3ecb548 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-18  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       * java/awt/Window.java (addNotify): Remove peer casting hack now that 
+       gcj/312 is fixed.
+
 2000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * COPYING: Update to current
index b06eff0548a9d64189f0206ea98697342a974847..d56e8aa818343c38e1235d4efbc747d8f21164a7 100644 (file)
@@ -102,8 +102,7 @@ public class Window extends Container
   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 ();
   }