--- a/test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java Fri Dec 21 10:38:33 2018 -0800
@@ -27,12 +27,14 @@
* 8175218 8176452 8181215 8182263 8183511 8169819 8183037 8185369 8182765 8196201 8184205
* @summary Run tests on doclet stylesheet.
* @author jamieh
- * @library ../lib
+ * @library ../../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build JavadocTester
+ * @build javadoc.tester.*
* @run main TestStylesheet
*/
+import javadoc.tester.JavadocTester;
+
public class TestStylesheet extends JavadocTester {
public static void main(String... args) throws Exception {
@@ -41,7 +43,7 @@
}
@Test
- void test() {
+ public void test() {
javadoc("-d", "out",
"-sourcepath", testSrc,
"pkg");
@@ -242,7 +244,7 @@
}
@Test
- void test_html4() {
+ public void test_html4() {
javadoc("-d", "out-html4",
"-html4",
"-sourcepath", testSrc,