-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b35
-
x86
-
linux
Name: agR10216 Date: 12/27/2003
Run the following test on Linux using java_g from the tiger build 32
(without any parameters) and see an InternalError.
-----------------------------------------------------
import java.awt.*;
public class WindowTest {
public static void main(String args[]) {
Frame f = new Frame();
Window w = new Window(f);
f.setSize(300, 200);
w.setSize(300, 200);
f.setLocationByPlatform(true);
w.setLocationByPlatform(true);
(args.length == 0 ? w : f).setVisible(true);
}
}
-----------------------------------------------------
Exception in thread "main" java.lang.InternalError: Following Thread does not have AWT_LOCK !!!!!
at sun.awt.X11.XlibWrapper.XAllocSizeHints(Native Method)
at sun.awt.X11.XBaseWindow.getHints(XBaseWindow.java:345)
at sun.awt.X11.XWindowPeer.promoteDefaultPosition(XWindowPeer.java:578)
at sun.awt.X11.XWindowPeer.setVisible(XWindowPeer.java:586)
at sun.awt.X11.XComponentPeer.show(XComponentPeer.java:453)
at java.awt.Component.show(Component.java:1260)
at java.awt.Window.show(Window.java:512)
at java.awt.Component.show(Component.java:1292)
at java.awt.Component.setVisible(Component.java:1247)
at WindowTest.main(WindowTest.java:11)
-----------------------------------------------------
###@###.### 2003-12-27
======================================================================
- relates to
-
JDK-4102292 New AWT Frame w/o coordinates always pops up in upper left hand screen location.
- Resolved