test/com/sun/javadoc/testLambdaFeature/TestLambdaFeature.java
Print this page
rev 2289 : JDK-8031670: remove -source/-target 1.4 and 1.5
@@ -20,10 +20,15 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
+ *
+ * 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 ]
+ *
* @test
* @bug 8004893 8022738
* @summary Make sure that the lambda feature changes work fine in
* javadoc.
* @author bpatel
@@ -41,11 +46,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",