langtools/test/tools/javadoc/dupOk/DupOk.java
changeset 1475 19c0851667ca
parent 10 06bc494ca11e
child 1652 1324f96f3883
equal deleted inserted replaced
1474:b808d0ebfe20 1475:19c0851667ca
    34 public class DupOk extends Doclet
    34 public class DupOk extends Doclet
    35 {
    35 {
    36     public static void main(String[] args) {
    36     public static void main(String[] args) {
    37         // run javadoc on package p
    37         // run javadoc on package p
    38         if (com.sun.tools.javadoc.Main.
    38         if (com.sun.tools.javadoc.Main.
    39             execute("javadoc", "DupOk",
    39             execute("javadoc", "DupOk", DupOk.class.getClassLoader(),
    40                     new String[]
    40                     new String[]
    41                 {"-sourcepath",
    41                 {"-sourcepath",
    42                  System.getProperty("test.src", ".") + java.io.File.separatorChar + "sp1" +
    42                  System.getProperty("test.src", ".") + java.io.File.separatorChar + "sp1" +
    43                  System.getProperty("path.separator") +
    43                  System.getProperty("path.separator") +
    44                  System.getProperty("test.src", ".") + java.io.File.separatorChar + "sp2",
    44                  System.getProperty("test.src", ".") + java.io.File.separatorChar + "sp2",