8080932: [TEST_BUG] Test java/awt/BasicStroke/DashStrokeTest.java fails with Bad script error due to improper @run notation
authorpchopra
Wed, 15 Jul 2015 14:02:24 +0300
changeset 31888 f4cd67172b4d
parent 31887 a0b91dedca5c
child 31889 c79bf6ec3eec
8080932: [TEST_BUG] Test java/awt/BasicStroke/DashStrokeTest.java fails with Bad script error due to improper @run notation Reviewed-by: azvegint, alexsch
jdk/test/java/awt/BasicStroke/DashStrokeTest.java
--- a/jdk/test/java/awt/BasicStroke/DashStrokeTest.java	Tue Jul 14 20:36:12 2015 +0300
+++ b/jdk/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;