--- a/test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOption.java Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOption.java Fri Dec 21 10:38:33 2018 -0800
@@ -27,14 +27,16 @@
* @summary Test to make sure that -link and -linkoffline link to
* right files, and URLs with and without trailing slash are accepted.
* @author jamieh
- * @library ../lib
+ * @library ../../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build JavadocTester
+ * @build javadoc.tester.*
* @run main TestLinkOption
*/
import java.io.File;
+import javadoc.tester.JavadocTester;
+
public class TestLinkOption extends JavadocTester {
/**
* The entry point of the test.
@@ -50,7 +52,7 @@
// it generates. Therefore we run everything serially in a single @Test
// method and not in independent @Test methods.
@Test
- void test() {
+ public void test() {
String mylib = "mylib";
String[] javacArgs = {
"-d", mylib, testSrc + "/extra/StringBuilder.java"