test/tools/javadoc/6964914/Test.java

Print this page
rev 2307 : JDK-8031670: remove -source/-target 1.4 and 1.5

@@ -44,11 +44,10 @@
 
     void javadoc(String path, String expect) {
         File testSrc = new File(System.getProperty("test.src"));
         String[] args = {
             "-Xdoclint:none",
-            "-source", "1.4", // enables certain Parser warnings
             "-bootclasspath", System.getProperty("sun.boot.class.path"),
             "-classpath", ".",
             "-package",
             new File(testSrc, path).getPath()
         };