test/com/sun/javadoc/testLambdaFeature/TestLambdaFeature.java

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

@@ -30,10 +30,16 @@
  * @library  ../lib/
  * @build    JavadocTester TestLambdaFeature
  * @run main TestLambdaFeature
  */
 
+/*
+ * NOTE : This test should be elided when version 1.7 support is removed from the JDK
+ *              or the negative part of the test showing 1.7's non-support should be
+ *              removed [ 8022738 ]
+ */
+
 public class TestLambdaFeature extends JavadocTester {
 
     //Test information.
     private static final String BUG_ID = "8004893-8022738";
 

@@ -41,11 +47,11 @@
     private static final String[] ARGS = new String[] {
         "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg", "pkg1"
     };
 
     private static final String[] ARGS_1 = new String[] {
-        "-d", BUG_ID + "-2", "-sourcepath", SRC_DIR, "-source", "1.5", "pkg1"
+        "-d", BUG_ID + "-2", "-sourcepath", SRC_DIR, "-source", "1.7", "pkg1"
     };
 
     //Input for string search tests.
     private static final String[][] TEST = {
         {BUG_ID + FS + "pkg" + FS + "A.html",