--- a/test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java Fri Dec 21 10:38:33 2018 -0800
@@ -27,12 +27,14 @@
* 8202624 8210047 8184205
* @summary Test the version of HTML generated by the javadoc tool.
* @author bpatel
- * @library ../lib
+ * @library ../../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build JavadocTester
+ * @build javadoc.tester.*
* @run main TestHtmlVersion
*/
+import javadoc.tester.JavadocTester;
+
public class TestHtmlVersion extends JavadocTester {
public static void main(String... args) throws Exception {
@@ -41,7 +43,7 @@
}
@Test
- void test1() {
+ public void test1() {
javadoc("-d", "out-1",
"-private",
"-linksource",
@@ -56,7 +58,7 @@
}
@Test
- void test2() {
+ public void test2() {
javadoc("-d", "out-2",
"-html4",
"-private",
@@ -72,7 +74,7 @@
}
@Test
- void test3() {
+ public void test3() {
javadoc("-d", "out-3",
"-html4",
"-private",
@@ -88,7 +90,7 @@
}
@Test
- void test4() {
+ public void test4() {
javadoc("-d", "out-4",
"-private",
"-linksource",