7102282: TEST_BUG: sun/java2d/OpenGL/GradientPaints.java should be modified
authorserb
Sat, 16 Apr 2016 23:39:45 +0300
changeset 37702 82e32f7e8502
parent 37701 ab17d4b56946
child 37703 1351ca507713
7102282: TEST_BUG: sun/java2d/OpenGL/GradientPaints.java should be modified Reviewed-by: yan, psadhukhan
jdk/test/sun/java2d/OpenGL/GradientPaints.java
--- 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
  */