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

Fairoz Matte fairoz.matte at oracle.com
Sat Sep 29 04:29:04 UTC 2018


Hi Sergey,

Thanks for looking into this.

> -----Original Message-----
> From: Sergey Bylokhov
> Sent: Saturday, September 29, 2018 12:52 AM
> To: Fairoz Matte <fairoz.matte at oracle.com>; awt-dev at openjdk.java.net
> Subject: Re: <AWT Dev> [8u-backport] RFR: 8166673: The new
> implementation of Robot.waitForIdle() may hang
> 
> 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?
> 

I have updated bug (JDK-8194862) with stacktraces of the threads causing deadlock.

Thanks,
Fairoz

> >
> > 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.htm
> > l
> >
> > Thanks,
> > Fairoz
> >
> 
> 
> --
> Best regards, Sergey.


More information about the awt-dev mailing list