langtools/test/tools/javadoc/MethodLinks.java
changeset 1475 19c0851667ca
parent 10 06bc494ca11e
child 1652 1324f96f3883
equal deleted inserted replaced
1474:b808d0ebfe20 1475:19c0851667ca
    34 
    34 
    35 public class MethodLinks extends Doclet
    35 public class MethodLinks extends Doclet
    36 {
    36 {
    37     public static void main(String[] args) {
    37     public static void main(String[] args) {
    38         if (com.sun.tools.javadoc.Main.
    38         if (com.sun.tools.javadoc.Main.
    39             execute("javadoc", "MethodLinks",
    39             execute("javadoc", "MethodLinks", MethodLinks.class.getClassLoader(),
    40                     new String[] {System.getProperty("test.src", ".") +
    40                     new String[] {System.getProperty("test.src", ".") +
    41                                   java.io.File.separatorChar + "MethodLinks.java"}
    41                                   java.io.File.separatorChar + "MethodLinks.java"}
    42                     ) != 0)
    42                     ) != 0)
    43             throw new Error();
    43             throw new Error();
    44     }
    44     }