Hi Sergey,

The event is present, but with the id "java.awt.event.FocusEvent.FOCUS_LAST+1", 
whereas when it is pumping the events, it is looking for 
"java.awt.event.FocusEvent.FOCUS_LAST+2", which is not in the queue.

Thanks,
Krishna

-----Original Message-----
From: Sergey Bylokhov 
Sent: Saturday, February 17, 2018 1:49 AM
To: Krishna Addepalli <[email protected]>; [email protected]; 
Semyon Sadetsky <[email protected]>
Subject: Re: <AWT Dev> [11][JDK-8152974] AWT hang occurs when sequenced events

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.

Reply via email to