changeset 48592:0d77f3b8945e condy-folding

fixing test CheckCondyGeneratedForLambdaTest.java
author vromero
date Fri, 15 Dec 2017 16:55:00 -0500
parents 3119873331af
children 7984d0be344d
files test/langtools/tools/javac/condy/CheckCondyGeneratedForLambdaTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/langtools/tools/javac/condy/CheckCondyGeneratedForLambdaTest.java	Fri Dec 15 16:12:02 2017 -0500
+++ b/test/langtools/tools/javac/condy/CheckCondyGeneratedForLambdaTest.java	Fri Dec 15 16:55:00 2017 -0500
@@ -75,7 +75,7 @@
 
     void compileTestClass() throws Exception {
         new JavacTask(tb)
-                .options("-XDforNonCapturingLambda=generateCondy")
+                .options("-XDdoConstantFold", "-XDforNonCapturingLambda=generateCondy")
                 .sources(testSource)
                 .run();
     }