--- a/test/langtools/jdk/javadoc/doclet/testAnnotationTypes/TestAnnotationTypes.java Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testAnnotationTypes/TestAnnotationTypes.java Fri Dec 21 10:38:33 2018 -0800
@@ -27,12 +27,14 @@
* @summary Make sure that annotation types with 0 members does not have
* extra HR tags.
* @author jamieh
- * @library ../lib
+ * @library ../../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build JavadocTester
+ * @build javadoc.tester.*
* @run main TestAnnotationTypes
*/
+import javadoc.tester.JavadocTester;
+
public class TestAnnotationTypes extends JavadocTester {
public static void main(String... args) throws Exception {
@@ -41,7 +43,7 @@
}
@Test
- void test() {
+ public void test() {
javadoc("-d", "out-1",
"-sourcepath", testSrc,
"pkg");
@@ -92,7 +94,7 @@
}
@Test
- void testLinkSource() {
+ public void testLinkSource() {
javadoc("-d", "out-2",
"-linksource",
"-sourcepath", testSrc,
@@ -117,7 +119,7 @@
}
@Test
- void test_html4() {
+ public void test_html4() {
javadoc("-d", "out-html4",
"-html4",
"-sourcepath", testSrc,