Commit da68e693 by Bryce McKinlay Committed by Bryce McKinlay

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
parent c1eacb70
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
......
......@@ -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 ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment