<AWT Dev> [8u-backport] RFR: 8166673: The new implementation of Robot.waitForIdle() may hang

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Sep 28 19:22:09 UTC 2018

Hi, Fairoz.

On 28/09/2018 08:32, Fairoz Matte wrote:
> As the test case doesn't have any impact on JDK8, it passes before the patch.

The tests works before the fix because in jdk8 the code which is updated 
in SunToolkit is not used by the Robot class, so it is unclear how the 
application triggers the bug.

> I have verified the issue by executing test case found in one of the duplicate issue JDK-8194862

Can you please add a stacktrace of the deadlock to the bug descripton?

> Webrev - http://cr.openjdk.java.net/~fmatte/8166673/webrev.00/
> JBS bug - https://bugs.openjdk.java.net/browse/JDK-8166673
> JDK9 changeset - http://hg.openjdk.java.net/jdk9/client/jdk/rev/fec7a8a6a46a
> JDK9 review thread - http://mail.openjdk.java.net/pipermail/awt-dev/2016-October/012114.html
> Thanks,
> Fairoz

Best regards, Sergey.

More information about the awt-dev mailing list