langtools/test/tools/javadoc/6964914/Test.java
changeset 23139 612191246a7d
parent 15354 52a04c670c05
child 27991 8f4b68523da3
equal deleted inserted replaced
23138:497fb20a5754 23139:612191246a7d
    44 
    44 
    45     void javadoc(String path, String expect) {
    45     void javadoc(String path, String expect) {
    46         File testSrc = new File(System.getProperty("test.src"));
    46         File testSrc = new File(System.getProperty("test.src"));
    47         String[] args = {
    47         String[] args = {
    48             "-Xdoclint:none",
    48             "-Xdoclint:none",
    49             "-source", "1.4", // enables certain Parser warnings
       
    50             "-bootclasspath", System.getProperty("sun.boot.class.path"),
    49             "-bootclasspath", System.getProperty("sun.boot.class.path"),
    51             "-classpath", ".",
    50             "-classpath", ".",
    52             "-package",
    51             "-package",
    53             new File(testSrc, path).getPath()
    52             new File(testSrc, path).getPath()
    54         };
    53         };