# HG changeset patch # User pbansal # Date 1511332506 -19800 # Node ID a42e805414e47909e4f72fb0173e36bdb06f8f4c # Parent b69b22b7a9f92a136a8b23896a128b346859c073 8190348: [TESTBUG] Test javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java fails Reviewed-by: serb, psadhukhan Contributed-by: pankaj.b.bansal@oracle.com diff -r b69b22b7a9f9 -r a42e805414e4 test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java --- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java Wed Nov 22 11:52:59 2017 +0530 +++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java Wed Nov 22 12:05:06 2017 +0530 @@ -33,12 +33,13 @@ * @library ../../../../lib/testlibrary * @build Common ExtendedRobot * @run main PerPixelTranslucentCanvas + * @run main/othervm -Dsun.java2d.uiScale=1.5 PerPixelTranslucentCanvas */ public class PerPixelTranslucentCanvas extends Common { JPanel center; - Color OVAL_COLOR = Color.BLUE; + static Color OVAL_COLOR = Color.BLUE; public static void main(String[] ignored) throws Exception { FG_COLOR = new Color(200, 0, 0, 100);