<AWT Dev> [9] Review Request: JDK-8032960 Running forms URL throws NullPointerException in Javaconsole.
Petr Pchelko
petr.pchelko at oracle.com
Wed Feb 19 03:29:01 PST 2014
Hello, AWT Team.
Please review the fix for the issue:
https://bugs.openjdk.java.net/browse/JDK-8032960
The fix is available at:
http://cr.openjdk.java.net/~pchelko/9/8032960/webrev.00/
The problem:
The Toolkit thread does not have an AppContext so we can't use EventQueue.invokeLater on it.
The solution:
Remove invokeLater. This is safe, because the updateProperties is thread safe. The result of this call is a post of a PropertyChangeEvent for each AppContext in the application.
The test:
Hard to create, because we can't synthesize the WM_SETTINGCHANGE event.
Thank you.
With best regards. Petr.
More information about the awt-dev
mailing list