[rfc] [icedtea-web] Fix EDT hanging on OpenJDK 11

Jiri Vanek jvanek at redhat.com
Fri Sep 7 13:42:47 UTC 2018


On 09/07/2018 09:38 AM, Laurent Bourgès wrote:
> Jiri,
> 
> I propose to improve my SwingUtils to get rid of all SwingUtilities remaining usages... now or after 
> this first patch.

after please :)
> 
> Its invokeLater/AndWait methods could first check if the thread belongs to the main thread group => 
> use directly EDT (shortcut), or wrap the event. It will minimize the thread pool overhead.

I consider you as mchmore advacned awt expert. So as you wish!
> 
> I noticed ITW also use EventQueue.invokeLater() that I did not wrap yet.

Should we be ashamed?
> 
> For consistency I would like having SwingUtils replace all occurences of SwingUtilities / EventQueue 
> to obtain a safe & simple API.

Deffinitley agree. And I would vote for separate patch.
> 
> I may have time during this week end so I could then improve the patch.
> 
TYVM!
  J.


More information about the distro-pkg-dev mailing list