<Swing Dev> [9] Review request for JDK-8159135 [PIT] javax/swing/JMenuItem/8152981/MenuItemIconTest.java always fail

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Fri Jun 10 14:22:08 UTC 2016


On 6/10/2016 12:36 PM, Rajeev Chamyal wrote:
>
> Hello All,
>
> Please review the following fix.
>
> Bug : https://bugs.openjdk.java.net/browse/JDK-8159135
>
> Webrev : http://cr.openjdk.java.net/~rchamyal/8159135/webrev.00/ 
> <http://cr.openjdk.java.net/%7Erchamyal/8159135/webrev.00/>
>
> Issue : MenuItemIconTest fails on windows 10.
>
> Cause : In windows 10  menu bar color is white and test checks for red 
> color only.
>
> Fix: checking for other color values(green and blue) also.
>
     Is it possible to compare color using equals method like other 
objects:   Color.RED.equals(c)?

    Thanks,
    Alexandr.
>
> Regards,
>
> Rajeev Chamyal
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160610/69401c8f/attachment.html>


More information about the swing-dev mailing list