--- a/test/langtools/jdk/javadoc/doclet/testTypeParams/TestTypeParameters.java Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testTypeParams/TestTypeParameters.java Fri Dec 21 10:38:33 2018 -0800
@@ -30,12 +30,14 @@
* class-use pages. The class/annotation pages should check for type
* parameter links in the class/annotation signature section when -linksource is set.
* @author jamieh
- * @library ../lib
+ * @library ../../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build JavadocTester
+ * @build javadoc.tester.*
* @run main TestTypeParameters
*/
+import javadoc.tester.JavadocTester;
+
public class TestTypeParameters extends JavadocTester {
public static void main(String... args) throws Exception {
@@ -44,7 +46,7 @@
}
@Test
- void test1() {
+ public void test1() {
javadoc("-d", "out-1",
"-use",
"-sourcepath", testSrc,
@@ -74,7 +76,7 @@
}
@Test
- void test1_html4() {
+ public void test1_html4() {
javadoc("-d", "out-1-html4",
"-html4",
"-use",
@@ -90,7 +92,7 @@
}
@Test
- void test2() {
+ public void test2() {
javadoc("-d", "out-2",
"-linksource",
"-sourcepath", testSrc,