RFR: JDK-8262899: TestRedirectLinks fails [v4]

Pavel Rappo prappo at openjdk.java.net
Mon Mar 29 16:17:00 UTC 2021


On Mon, 29 Mar 2021 16:06:31 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

>> test/langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java line 110:
>> 
>>> 108:         } catch (UnknownHostException e) {
>>> 109:             out.println("Setup failed (" + testURLHost + " not found); this test skipped");
>>> 110:             return;
>> 
>> L98 and L110: can we use `jtreg.SkippedException` instead? That way the results of the test test run might look more clearly.
>
> No, because that means the entire text was skipped; here we just want to skip one `@Test` method.

It's rather unfortunate that a setup that uses `@javadoc.tester.JavadocTester.Test` works differently than that of `@org.testng.annotations.Test`.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3137


More information about the javadoc-dev mailing list