langtools/test/tools/javadoc/subpackageIgnore/SubpackageIgnore.java
changeset 1475 19c0851667ca
parent 10 06bc494ca11e
child 1652 1324f96f3883
equal deleted inserted replaced
1474:b808d0ebfe20 1475:19c0851667ca
    34 
    34 
    35     public static void main(String[] args) {
    35     public static void main(String[] args) {
    36         if (com.sun.tools.javadoc.Main.execute(
    36         if (com.sun.tools.javadoc.Main.execute(
    37                 "javadoc",
    37                 "javadoc",
    38                 "SubpackageIgnore",
    38                 "SubpackageIgnore",
       
    39                 SubpackageIgnore.class.getClassLoader(),
    39                 new String[] {"-Xwerror",
    40                 new String[] {"-Xwerror",
    40                               "-sourcepath",
    41                               "-sourcepath",
    41                               System.getProperty("test.src", "."),
    42                               System.getProperty("test.src", "."),
    42                               "-subpackages",
    43                               "-subpackages",
    43                               "pkg1"}) != 0)
    44                               "pkg1"}) != 0)