test/jdk/javadoc/tool/varArgs/Main.java

Print this page

        

*** 24,41 **** --- 24,44 ---- /* * @test * @bug 4421066 5006659 * @summary Verify the contents of a ClassDoc containing a varArgs method. * Verify that see/link tags can use "..." notation. + * @ignore API modifications * @library ../lib * @modules jdk.javadoc * @compile ../lib/Tester.java Main.java * @run main Main */ import java.io.IOException; + import com.sun.javadoc.*; + import jdk.javadoc.doclet.DocletEnvironment; public class Main extends Tester.Doclet { private static final Tester tester = new Tester("Main", "-Xwerror", "pkg1");
*** 43,53 **** public static void main(String[] args) throws IOException { tester.run(); tester.verify(); } ! public static boolean start(RootDoc root) { try { for (ClassDoc cd : root.classes()) { tester.printClass(cd); for (SeeTag tag : cd.seeTags()) { --- 46,56 ---- public static void main(String[] args) throws IOException { tester.run(); tester.verify(); } ! public static boolean run(DocletEnvironment root) { try { for (ClassDoc cd : root.classes()) { tester.printClass(cd); for (SeeTag tag : cd.seeTags()) {