langtools/test/tools/javadoc/completionFailure/CompletionFailure.java
changeset 1475 19c0851667ca
parent 10 06bc494ca11e
child 1652 1324f96f3883
equal deleted inserted replaced
1474:b808d0ebfe20 1475:19c0851667ca
    35 {
    35 {
    36     public static void main(String[] args) {
    36     public static void main(String[] args) {
    37         // run javadoc on package pkg
    37         // run javadoc on package pkg
    38         if (com.sun.tools.javadoc.Main.execute("javadoc",
    38         if (com.sun.tools.javadoc.Main.execute("javadoc",
    39                                                "CompletionFailure",
    39                                                "CompletionFailure",
       
    40                                                CompletionFailure.class.getClassLoader(),
    40                                                new String[]{"pkg"}) != 0)
    41                                                new String[]{"pkg"}) != 0)
    41             throw new Error();
    42             throw new Error();
    42     }
    43     }
    43 
    44 
    44     public static boolean start(com.sun.javadoc.RootDoc root) {
    45     public static boolean start(com.sun.javadoc.RootDoc root) {