changeset 12336:53b7dbe47bdb

8080932: [TEST_BUG] Test java/awt/BasicStroke/DashStrokeTest.java fails with Bad script error due to improper @run notation Reviewed-by: azvegint, alexsch
author pchopra
date Wed, 15 Jul 2015 14:02:24 +0300
parents 74513e3d04b1
children 53ec4e8d1aee
files test/java/awt/BasicStroke/DashStrokeTest.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/awt/BasicStroke/DashStrokeTest.java	Tue Jul 14 20:36:12 2015 +0300
+++ b/test/java/awt/BasicStroke/DashStrokeTest.java	Wed Jul 15 14:02:24 2015 +0300
@@ -21,10 +21,10 @@
  * questions.
  *
  * @test
- * @bug 8075942
+ * @bug 8075942 8080932
  * @summary test there is no exception rendering a dashed stroke
- * @run DashStrokeTest
- * @run -Dsun.java2d.renderer=sun.java2d.pisces.PiscesRenderingEngine
+ * @run main DashStrokeTest
+ * @run main/othervm -Dsun.java2d.renderer=sun.java2d.pisces.PiscesRenderingEngine DashStrokeTest
  */
 
 import java.awt.BasicStroke;