-
Bug
-
Resolution: Won't Fix
-
P4
-
7
-
generic
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2222456 | 9 | Sergey Bylokhov | P4 | Resolved | Fixed | b08 |
JDK-8045713 | 8u25 | Sergey Bylokhov | P4 | Resolved | Fixed | b01 |
JDK-8037592 | 8u20 | Sergey Bylokhov | P4 | Resolved | Fixed | b11 |
JDK-8053544 | emb-8u26 | Sergey Bylokhov | P4 | Resolved | Fixed | b17 |
http://java.net/jira/browse/MACOSX_PORT-134 submitted 2011/07/01 by Yuri Nesterenko
If System preferences for the Energy Saver is set to Display sleep == certain value which is not Never, and if that timeout reached, then Java programs starting after this moment bomb in Window.initGC() presumably having null default screen device.
gc = GraphicsEnvironment.getLocalGraphicsEnvironment().
getDefaultScreenDevice().getDefaultConfiguration();
Actual situation like this is a long Swing test run: if a test fails with timeout, most subsequent tests fail in Window.initGC().
Now, I don't know if it is possible to fix this in the program. Is there a way on Mac to provide a default Screen device without a monitor attached?
If System preferences for the Energy Saver is set to Display sleep == certain value which is not Never, and if that timeout reached, then Java programs starting after this moment bomb in Window.initGC() presumably having null default screen device.
gc = GraphicsEnvironment.getLocalGraphicsEnvironment().
getDefaultScreenDevice().getDefaultConfiguration();
Actual situation like this is a long Swing test run: if a test fails with timeout, most subsequent tests fail in Window.initGC().
Now, I don't know if it is possible to fix this in the program. Is there a way on Mac to provide a default Screen device without a monitor attached?
- backported by
-
JDK-2222456 [macosx] failure in Window.initGC on Mac with monitor sleeping
- Resolved
-
JDK-8037592 [macosx] failure in Window.initGC on Mac with monitor sleeping
- Resolved
-
JDK-8045713 [macosx] failure in Window.initGC on Mac with monitor sleeping
- Resolved
-
JDK-8053544 [macosx] failure in Window.initGC on Mac with monitor sleeping
- Resolved