6748541: javadoc should be reusable

Reviewed-by: bpatel
This commit is contained in:
Jonathan Gibbons 2008-10-15 08:07:59 -07:00
parent 1dc1dcab49
commit 55ef4bc22e
26 changed files with 54 additions and 62 deletions

View file

@ -36,7 +36,7 @@ public class MethodLinks extends Doclet
{
public static void main(String[] args) {
if (com.sun.tools.javadoc.Main.
execute("javadoc", "MethodLinks",
execute("javadoc", "MethodLinks", MethodLinks.class.getClassLoader(),
new String[] {System.getProperty("test.src", ".") +
java.io.File.separatorChar + "MethodLinks.java"}
) != 0)