<Swing Dev> [11][JDK-8137101][TEST_BUG] javax/swing/plaf/basic/BasicHTML/4251579/bug4251579.java failure due to timing
Philip Race
philip.race at oracle.com
Thu Jan 18 18:52:43 UTC 2018
Looks fine although fix the formatting here where there is a missing
space before catch :
+ }catch (InterruptedException ex) {
-phil.
On 1/18/18, 10:44 AM, Krishna Addepalli wrote:
>
> Hi All,
>
> Please review a fix for following bug:
>
> Bug: JDK-8137101 : https://bugs.openjdk.java.net/browse/JDK-8137101
>
> Webrev: http://cr.openjdk.java.net/~kaddepalli/8137101/webrev00/
> <http://cr.openjdk.java.net/%7Ekaddepalli/8137101/webrev00/>
>
> The problem is that EDT doesnot get enough time to show the window on
> screen before the next function tries to pick colors from the screen.
> The solution is to use CountDownLatch to make the main thread wait
> deterministically before trying to pick colors.
>
> Thanks,
>
> Krishna
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180118/d7e7c466/attachment.html>
More information about the swing-dev
mailing list