<AWT Dev> [9] Review request for 8031694: [macosx] TwentyThousandTest test intermittently hangs

Oleg Pekhovskiy oleg.pekhovskiy at oracle.com
Mon Jan 27 17:32:51 PST 2014


Hi all,

please review the fix
http://cr.openjdk.java.net/~bagiras/8031694.1/
for
https://bugs.openjdk.java.net/browse/JDK-8031694

During forward-port of JDK-7189350 EDT.doDispatch was not taken into 
account when calling EventQueue.detachDispatchThread().
As a result harmful optimization of this method occurred.
So when doDispatch became false, no more events in QventQueue were 
handled before EDT shutdown.
I kept the optimization but added the check to EDT.pumpEventsForFilter() 
that EventQueue is not empty to keep pumping.

Thanks,
Oleg


More information about the awt-dev mailing list