<Swing Dev> Review request for JDK-8131751: Test javax/swing/plaf/gtk/crash/RenderBadPictureCrash.java fails UnsupportedOperationException
Vikrant Agarwal
vikrant.v.agarwal at oracle.com
Thu Jan 28 10:32:17 UTC 2016
Hi All,
Kindly review the fix for JDK9.
Bug: https://bugs.openjdk.java.net/browse/JDK-8131751
Webrev: http://cr.openjdk.java.net/~srastogi/8131751/webrev.00/
Issue: [TEST_BUG] Test javax/swing/plaf/gtk/crash/RenderBadPictureCrash.java fails UnsupportedOperationException
Cause: test failed on those systems where PERPIXEL_TRANSLUCENT translucency is not supported as it is doing f.setBackground(new Color(0, 0, 0, 0)); (making alpha value 0)
Fix: Added a check for checking support for PERPIXEL_TRANSLUCENT translucency before f.setBackground(new Color(0, 0, 0, 0));
Best Regards,
Vikrant Agarwal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160128/d7dcbc6e/attachment.html>
More information about the swing-dev
mailing list