File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
langtools/jdk/javadoc/doclet/testLinkOption Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 288288 * -Xbatch -XX:TieredStopAtLevel=1
289289 * -javaagent:basicAgent.jar GetObjectSizeIntrinsicsTest GetObjectSizeIntrinsicsTest large
290290 *
291- * @run main/othervm -Xmx8g
291+ * @run main/othervm/timeout=180 -Xmx8g
292292 * -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure -XX:+WhiteBoxAPI -Xbootclasspath/a:.
293293 * -Xbatch -XX:-TieredCompilation
294294 * -javaagent:basicAgent.jar GetObjectSizeIntrinsicsTest GetObjectSizeIntrinsicsTest large
Original file line number Diff line number Diff line change 2626 * @bug 8190312
2727 * @summary test redirected URLs for -link
2828 * @library /tools/lib ../../lib
29+ * @library /test/lib
2930 * @modules jdk.compiler/com.sun.tools.javac.api
3031 * jdk.compiler/com.sun.tools.javac.main
3132 * jdk.javadoc/jdk.javadoc.internal.api
3233 * jdk.javadoc/jdk.javadoc.internal.tool
3334 * @build toolbox.ToolBox toolbox.JavacTask javadoc.tester.*
35+ * @build jtreg.SkippedException
36+ * @build jdk.test.lib.Platform
3437 * @run main TestRedirectLinks
3538 */
3639
6669import toolbox .JavacTask ;
6770import toolbox .ToolBox ;
6871
72+ import jdk .test .lib .Platform ;
73+ import jtreg .SkippedException ;
74+
6975public class TestRedirectLinks extends JavadocTester {
7076 /**
7177 * The entry point of the test.
7278 * @param args the array of command line arguments.
7379 */
7480 public static void main (String ... args ) throws Exception {
81+ if (Platform .isSlowDebugBuild ()) {
82+ throw new SkippedException ("Test is unstable with slowdebug bits" );
83+ }
7584 TestRedirectLinks tester = new TestRedirectLinks ();
7685 tester .runTests ();
7786 }
You can’t perform that action at this time.
0 commit comments