<AWT Dev> [11][JDK-8152974] AWT hang occurs when sequenced events

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Feb 16 20:18:53 UTC 2018

Hi, Krishna.
On 16/02/2018 00:42, Krishna Addepalli wrote:
> The SentEvent.ID value is "java.awt.event.FocusEvent.FOCUS_LAST+2", and when in the function pumpOneEventForFilters, it tries to call EventQueue.getNextEvent(id), it looks for SentEvent.ID, which is not present, and then the queue blocks in the hope that someone will post that event. This is what is leading to the hang.

But both events are posted by the test, why the second event is not 
present in the queue?

Best regards, Sergey.

More information about the awt-dev mailing list