<AWT Dev>  RFR JDK-8190456: sanity/client/SwingSet/src/ComboBoxDemoTest.java failed with NPE from java.awt.EventQueue.getCurrentEventImpl()
abdul.kolarkunnu at oracle.com
Wed Nov 1 08:33:51 UTC 2017
Please review fix for the below bug:
This issue observed during SBR(Same Binary Run) execution of client sanity tests. Same exception observed from test case sanity/client/SwingSet/src/DialogDemoTest.java also.
It is a random failure, observed 2 times in 1000 iterations.
In ComboBoxDemoTest, it is happening while changing the selection on a combo box.
In DialogDemoTest, it is happening during button press.
Fix: As currentEvent is a WeakReference, added null check for dispatchThread use case also, similar to fxAppThreadIsDispatchThread use case.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev