提交 ae7d617e 编写于 作者: P phh

8080932: [TEST_BUG] Test java/awt/BasicStroke/DashStrokeTest.java fails with...

8080932: [TEST_BUG] Test java/awt/BasicStroke/DashStrokeTest.java fails with Bad script error due to improper @run notation
Summary: Add "main" and "main/othervm" @run arguments
Reviewed-by: azvegint, alexsch
上级 18fbe0d9
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2019, 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
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册