<AWT Dev> Endless loop in EventDispatchThread - proposed solution

Clemens Eisserer linuxhippy at gmail.com
Wed Aug 24 08:46:56 PDT 2011


Hi Artem,


The full patch also looks OK. Yesterday I thought in exactly the same
> direction and here is my observation. EDT.pumpEventsForFilters(id) can
> return the "false" value only if the thread is interrupted or stopped
> (ThreadDeath is caught). Therefore when the pumpEvents() call in EDT.run()
> exits, "shutdown" is always true. That's why I wrote about detaching the
> event dispatch thread unconditionally in my previous email.
>

Ah, sorry I missed the point in my first email.
Jep, this would make the code cleaner, I'll update my patch.

Thanks, Clemens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20110824/bc6d1363/attachment.html 


More information about the awt-dev mailing list