<AWT Dev> <AWT dev>[9] Review request for 8061637: GraphicsEnvironment API does not detect dynamically attached graphics device

Semyon Sadetsky semyon.sadetsky at oracle.com
Fri Apr 29 06:56:00 UTC 2016


Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8061637
webrev: http://cr.openjdk.java.net/~ssadetsky/8061637/webrev.00/

Display reconfiguration notification is skipped by JavaWS and the plugin 
under Windows.
This happens because native display change event is scheduled to the 
main app context EDT but the last was disabled by 8004584. As result NPE 
is thrown on the Toolkit thread and event handling is not scheduled.
The fix solution runs display event handling in a new thread if the 
system EDT is not available.
Test would require to write native code so the bug is labeled noreg-hard.


More information about the awt-dev mailing list