<AWT Dev> OpenJdk11-28-EA JDialog hanging
Sergey.Bylokhov at oracle.com
Mon Oct 29 18:06:26 UTC 2018
Thank you for this details description of the problem, I have tried to summarize it in this test, which should fail on all platforms:
It creates a number of SequencedEvents and post them in a different orders. It also has some additional checks, for example InvocationEvent posted in between of SequencedEvents should be dispatched in the same order as posted/ or posted not early that SequencedEvents. Some new checks might be added.
Here is another version of the fix which tries to resolve the problem covered by the test above:
But I have run it for a night in a bash loop, and it failed after 100+ iterations. So there is some room for improvements.
Note that this fix should be applied on top of JDK-8211435:
On 26/10/2018 15:25, Martin Balao wrote:
> If you are talking about an example from this message:
> http://mail.openjdk.java.net/pipermail/awt-dev/2018-October/014426.html <http://mail.openjdk.java.net/pipermail/awt-dev/2018-October/014426.html>
> That's only the first half of this issue, which is indeed easy to fix by just dispatching SentEvent events. The second half is here: http://mail.openjdk.java.net/pipermail/awt-dev/2018-October/014436.html
Best regards, Sergey.
More information about the awt-dev