changeset 31888:f4cd67172b4d

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 a0b91dedca5c
children c79bf6ec3eec
files jdk/test/java/awt/BasicStroke/DashStrokeTest.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;