test/langtools/jdk/javadoc/doclet/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java
--- a/test/langtools/jdk/javadoc/doclet/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java Fri Dec 21 10:38:33 2018 -0800
@@ -26,12 +26,14 @@
* @bug 6802694 8025633 8026567 8183511 8074407 8182765
* @summary This test verifies deprecation info in serialized-form.html.
* @author Bhavesh Patel
- * @library ../lib
+ * @library ../../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build JavadocTester
+ * @build javadoc.tester.*
* @run main TestSerializedFormDeprecationInfo
*/
+import javadoc.tester.JavadocTester;
+
public class TestSerializedFormDeprecationInfo extends JavadocTester {
public static void main(String... args) throws Exception {
@@ -40,7 +42,7 @@
}
@Test
- void testDefault() {
+ public void testDefault() {
javadoc("-d", "out-default",
"-sourcepath", testSrc,
"pkg1");
@@ -51,7 +53,7 @@
}
@Test
- void testNoComment() {
+ public void testNoComment() {
javadoc("-d", "out-nocmnt",
"-nocomment",
"-sourcepath", testSrc,
@@ -63,7 +65,7 @@
}
@Test
- void testNoDeprecated() {
+ public void testNoDeprecated() {
javadoc("-d", "out-nodepr",
"-nodeprecated",
"-sourcepath", testSrc,
@@ -75,7 +77,7 @@
}
@Test
- void testNoCommentNoDeprecated() {
+ public void testNoCommentNoDeprecated() {
javadoc("-d", "out-nocmnt-nodepr",
"-nocomment",
"-nodeprecated",