--- a/langtools/test/tools/javac/lambda/LambdaParserTest.java Fri Nov 16 18:27:36 2012 +0000
+++ b/langtools/test/tools/javac/lambda/LambdaParserTest.java Sat Nov 17 19:01:03 2012 +0000
@@ -24,7 +24,9 @@
/*
* @test
* @bug 7115050
- * @summary Add parser support for lambda expressions
+ * @bug 8003280
+ * @summary Add lambda tests
+ * Add parser support for lambda expressions
*/
import com.sun.source.util.JavacTask;
@@ -234,7 +236,7 @@
void run(JavaCompiler tool, StandardJavaFileManager fm) throws Exception {
JavacTask ct = (JavacTask)tool.getTask(null, fm, diagChecker,
- Arrays.asList("-XDallowLambda"), null, Arrays.asList(source));
+ null, null, Arrays.asList(source));
try {
ct.parse();
} catch (Throwable ex) {