--- a/test/langtools/jdk/javadoc/doclet/testSourceTab/TestSourceTab.java Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testSourceTab/TestSourceTab.java Fri Dec 21 10:38:33 2018 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -27,14 +27,16 @@
* @summary Test to make sure that the source documentation is indented properly
* when -linksourcetab is used.
* @author jamieh
- * @library ../lib
+ * @library ../../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build JavadocTester
+ * @build javadoc.tester.*
* @run main TestSourceTab
*/
import java.io.*;
+import javadoc.tester.JavadocTester;
+
public class TestSourceTab extends JavadocTester {
public static void main(String... args) throws Exception {
@@ -43,7 +45,7 @@
}
@Test
- void test() throws Exception {
+ public void test() throws Exception {
String tmpSrcDir = "tmpSrc";
String outdir1 = "out-tabLengthEight";
String outdir2 = "out-tabLengthFour";