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
This commit is contained in:
Bryce McKinlay 2000-12-18 21:20:31 +00:00 committed by Bryce McKinlay
parent c1eacb709f
commit da68e69359
2 changed files with 6 additions and 2 deletions

View 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

View 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 ();
}