langtools/test/com/sun/javadoc/AuthorDD/AuthorDD.java
changeset 1475 19c0851667ca
parent 10 06bc494ca11e
child 1652 1324f96f3883
child 1787 1aa079321cd2
equal deleted inserted replaced
1474:b808d0ebfe20 1475:19c0851667ca
    70         printSummary();
    70         printSummary();
    71     }
    71     }
    72 
    72 
    73     /** Run javadoc */
    73     /** Run javadoc */
    74     public static void runJavadoc(String[] javadocArgs) {
    74     public static void runJavadoc(String[] javadocArgs) {
    75         if (com.sun.tools.javadoc.Main.execute(javadocArgs) != 0) {
    75         if (com.sun.tools.javadoc.Main.execute(AuthorDD.class.getClassLoader(),
       
    76                                                javadocArgs) != 0) {
    76             throw new Error("Javadoc failed to execute");
    77             throw new Error("Javadoc failed to execute");
    77         }
    78         }
    78     }
    79     }
    79 
    80 
    80     /**
    81     /**