8080932: [TEST_BUG] Test java/awt/BasicStroke/DashStrokeTest.java fails with Bad script error due to improper @run notation
Reviewed-by: azvegint, alexsch
--- 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;