langtools/test/tools/javadoc/imports/MissingImport.java
changeset 1475 19c0851667ca
parent 10 06bc494ca11e
child 1652 1324f96f3883
equal deleted inserted replaced
1474:b808d0ebfe20 1475:19c0851667ca
    39                              "I.java");
    39                              "I.java");
    40 
    40 
    41         if (com.sun.tools.javadoc.Main.execute(
    41         if (com.sun.tools.javadoc.Main.execute(
    42                 "javadoc",
    42                 "javadoc",
    43                 "MissingImport",
    43                 "MissingImport",
       
    44                 MissingImport.class.getClassLoader(),
    44                 new String[] {thisFile}) != 0)
    45                 new String[] {thisFile}) != 0)
    45             throw new Error("Javadoc encountered warnings or errors.");
    46             throw new Error("Javadoc encountered warnings or errors.");
    46     }
    47     }
    47 
    48 
    48     /*
    49     /*