test/com/sun/javadoc/testAnnotationOptional/TestAnnotationOptional.java

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

@@ -38,11 +38,11 @@
     //Test information.
     private static final String BUG_ID = "NO_BUG_ID_YET";
 
     //Javadoc arguments.
     private static final String[] ARGS = new String[] {
-        "-d", BUG_ID, "-sourcepath", SRC_DIR, "-source", "1.5", "pkg"
+        "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg"
     };
 
     //Input for string search tests.
     private static final String[][] TEST = {
         {BUG_ID + FS + "pkg" + FS + "AnnotationOptional.html",