<AWT Dev> OpenJdk11-28-EA JDialog hanging

Krishna Addepalli krishna.addepalli at oracle.com
Wed Oct 3 12:11:33 UTC 2018

Hi Laurent,


Sorry, I could not get to the root cause yet. Seems like it might take some time and some hard debugging.


Meanwhile, I’m attaching a simple patch file which effectively reverts the earlier fix that was done for JDK-8152974.

Please try this and let me know if this solves your problem. Then I’ll create a backout bug and push this patch.





From: Laurent Bourgès <bourges.laurent at gmail.com> 
Sent: Thursday, September 27, 2018 12:57 PM
To: Krishna Addepalli <krishna.addepalli at oracle.com>
Cc: Phil Race <philip.race at oracle.com>; Sergey Bylokhov <sergey.bylokhov at oracle.com>; awt-dev at openjdk.java.net
Subject: Re: <AWT Dev> OpenJdk11-28-EA JDialog hanging


Any progress on this bug, krishna ?


At least could you explain how SequencedEvent should be processed when multiple AppContexts are present ?


I could help but I have no clue what's going on ... I observed multiple several EDT, AppContexts, awt events, it is very complicated to understand such event handling.





Le jeu. 6 sept. 2018 à 18:02, Laurent Bourgès <HYPERLINK "mailto:bourges.laurent at gmail.com"bourges.laurent at gmail.com> a écrit :

Hi Krishna,

Le jeu. 6 sept. 2018 à 16:08, Krishna Addepalli <HYPERLINK "mailto:krishna.addepalli at oracle.com"krishna.addepalli at oracle.com> a écrit :

Hi Laurent,


Thanks for providing the test case. I was able to reproduce the issue. Glad to know that you found a workaround, as this issue is a bit tricky to fix.



Meanwhile, I’m looking into fixing this issue, and your test case greatly helps me toward finding the fix faster.


I tried diagnosing the bug in EDT/SequencedEvent using heap dumps ... but I got no clues, very tricky.


Good luck,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20181003/49d2b5cb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revert.patch
Type: application/octet-stream
Size: 853 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20181003/49d2b5cb/revert.patch>

More information about the awt-dev mailing list