langtools/test/tools/javadoc/LangVers.java
changeset 1475 19c0851667ca
parent 10 06bc494ca11e
child 1652 1324f96f3883
equal deleted inserted replaced
1474:b808d0ebfe20 1475:19c0851667ca
    41                              "LangVers.java");
    41                              "LangVers.java");
    42 
    42 
    43         if (com.sun.tools.javadoc.Main.execute(
    43         if (com.sun.tools.javadoc.Main.execute(
    44                 "javadoc",
    44                 "javadoc",
    45                 "LangVers",
    45                 "LangVers",
       
    46                 LangVers.class.getClassLoader(),
    46                 new String[] {"-source", "1.5", thisFile}) != 0)
    47                 new String[] {"-source", "1.5", thisFile}) != 0)
    47             throw new Error("Javadoc encountered warnings or errors.");
    48             throw new Error("Javadoc encountered warnings or errors.");
    48     }
    49     }
    49 
    50 
    50     public static boolean start(RootDoc root) {
    51     public static boolean start(RootDoc root) {