7102282: TEST_BUG: sun/java2d/OpenGL/GradientPaints.java should be modified

Reviewed-by: yan, psadhukhan
This commit is contained in:
Sergey Bylokhov 2016-04-16 23:39:45 +03:00
parent 0aee9fb368
commit ea65ad3102

@ -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
*/