<AWT Dev> OpenJdk11-28-EA JDialog hanging

Laurent Bourgès bourges.laurent at gmail.com
Tue Oct 30 06:34:42 UTC 2018


Sergey,

Le lun. 29 oct. 2018 à 19:06, Sergey Bylokhov <Sergey.Bylokhov at oracle.com>
a écrit :

> Hi, Martin.
> Thank you for this details description of the problem, I have tried to
> summarize it in this test, which should fail on all platforms:
>
>
> http://cr.openjdk.java.net/~serb/8204142/webrev.00/raw_files/new/test/jdk/java/awt/event/SequencedEvent/MultipleContextsUnitTest.java
>
> 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.
>

It looks close to my initial reproducer test:
http://mail.openjdk.java.net/pipermail/awt-dev/2018-September/014276.html

It was "blocking" immediately on jdk11.


> Here is another version of the fix which tries to resolve the problem
> covered by the test above:
> http://cr.openjdk.java.net/~serb/8204142/webrev.00/
>
> 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.
>

I will test your patch with my 2 test variants.

Thank you for your new proposal,
Laurent


> Note that this fix should be applied on top of JDK-8211435:
> http://cr.openjdk.java.net/~serb/8211435/webrev.00/
>
>
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20181030/1e3c591b/attachment.html>


More information about the awt-dev mailing list