7102282: TEST_BUG: sun/java2d/OpenGL/GradientPaints.java should be modified
Reviewed-by: yan, psadhukhan
--- a/jdk/test/sun/java2d/OpenGL/GradientPaints.java Sat Apr 16 23:36:45 2016 +0300
+++ b/jdk/test/sun/java2d/OpenGL/GradientPaints.java Sat Apr 16 23:39:45 2016 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -23,11 +23,11 @@
/*
* @test
- * @bug 6521533 6525997
+ * @bug 6521533 6525997 7102282
* @summary Verifies that the OGL-accelerated codepaths for GradientPaint,
* LinearGradientPaint, and RadialGradientPaint produce results that are
* sufficiently close to those produced by the software codepaths.
- * @run main/othervm -Dsun.java2d.opengl=True GradientPaints
+ * @run main/othervm -Dsun.java2d.uiScale=1 -Dsun.java2d.opengl=True GradientPaints
* @author campbelc
*/