From da68e693599df262c5a06641b8850b1363bef29d Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Mon, 18 Dec 2000 21:20:31 +0000 Subject: Window.java (addNotify): Remove peer casting hack now that gcj/312 is fixed. * java/awt/Window.java (addNotify): Remove peer casting hack now that gcj/312 is fixed. From-SVN: r38364 --- libjava/java/awt/Window.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libjava/java') diff --git a/libjava/java/awt/Window.java b/libjava/java/awt/Window.java index b06eff0..d56e8aa 100644 --- a/libjava/java/awt/Window.java +++ b/libjava/java/awt/Window.java @@ -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 (); } -- cgit v1.1