equal
deleted
inserted
replaced
29 public class SourceOnly extends com.sun.javadoc.Doclet |
29 public class SourceOnly extends com.sun.javadoc.Doclet |
30 { |
30 { |
31 public static void main(String[] args) { |
31 public static void main(String[] args) { |
32 // run javadoc on package p |
32 // run javadoc on package p |
33 int result = com.sun.tools.javadoc.Main. |
33 int result = com.sun.tools.javadoc.Main. |
34 execute("javadoc", "p.SourceOnly", new String[] {"p"}); |
34 execute("javadoc", "p.SourceOnly", SourceOnly.class.getClassLoader(), new String[] {"p"}); |
35 if (result != 0) |
35 if (result != 0) |
36 throw new Error(); |
36 throw new Error(); |
37 } |
37 } |
38 |
38 |
39 public static boolean start(com.sun.javadoc.RootDoc root) { |
39 public static boolean start(com.sun.javadoc.RootDoc root) { |