8218944: Fix failed for JDK-8218936

Reviewed-by: jwilhelm
This commit is contained in:
Jonathan Gibbons 2019-02-14 07:41:54 -08:00
parent 48cb2d94e7
commit 904bb0919f

View File

@ -69,9 +69,7 @@ public class TestLinkOption extends JavadocTester {
"-linkoffline", url, testSrc + "/jdk",
"-package",
"pkg", "mylib.lang");
checkExit(Exit.ERROR);
checkOutput(Output.OUT, true,
"tag not supported in the generated HTML version: tt");
checkExit(Exit.OK);
checkOutput("pkg/C.html", true,
"<a href=\"" + url + "java/lang/String.html?is-external=true\" "