Failed

org.eclipse.jdt.core.tests.compiler.regression.LambdaRegressionTest.test004 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since Failed#9 )
Took 0.74 sec.

Error Message

test004 - Javac found error(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
An exception has occurred in the compiler (1.8.0_131). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.\n
java.lang.AssertionError\n
 at com.sun.tools.javac.util.Assert.error(Assert.java:126)\n
 at com.sun.tools.javac.util.Assert.check(Assert.java:45)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor$LambdaTranslationContext.addSymbol(LambdaToMethod.java:2024)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1263)\n
 at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1231)\n
 at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitLambda(TreeTranslator.java:289)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeLambda(LambdaToMethod.java:1347)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitLambda(LambdaToMethod.java:1322)\n
 at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitApply(TreeTranslator.java:275)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitApply(LambdaToMethod.java:1208)\n
 at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitExec(TreeTranslator.java:245)\n
 at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1296)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1231)\n
 at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:145)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitMethodDef(LambdaToMethod.java:1361)\n
 at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:134)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1270)\n
 at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeAndPreprocessClass(LambdaToMethod.java:1197)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.access$300(LambdaToMethod.java:1148)\n
 at com.sun.tools.javac.comp.LambdaToMethod.visitClassDef(LambdaToMethod.java:232)\n
 at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)\n
 at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)\n
 at com.sun.tools.javac.comp.LambdaToMethod.translateTopLevelClass(LambdaToMethod.java:217)\n
 at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1493)\n
 at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1356)\n
 at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)\n
 at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)\n
 at com.sun.tools.javac.main.Main.compile(Main.java:523)\n
 at com.sun.tools.javac.main.Main.compile(Main.java:381)\n
 at com.sun.tools.javac.main.Main.compile(Main.java:370)\n
 at com.sun.tools.javac.main.Main.compile(Main.java:361)\n
 at com.sun.tools.javac.Main.compile(Main.java:56)\n
 at com.sun.tools.javac.Main.main(Main.java:42)\n

--------- Difference is ----------
 expected:<[]> but was:<[An exception has occurred in the compiler (1.8.0_131). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.\n
java.lang.AssertionError\n
 at com.sun.tools.javac.util.Assert.error(Assert.java:126)\n
 at com.sun.tools.javac.util.Assert.check(Assert.java:45)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor$LambdaTranslationContext.addSymbol(LambdaToMethod.java:2024)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1263)\n
 at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1231)\n
 at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitLambda(TreeTranslator.java:289)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeLambda(LambdaToMethod.java:1347)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitLambda(LambdaToMethod.java:1322)\n
 at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitApply(TreeTranslator.java:275)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitApply(LambdaToMethod.java:1208)\n
 at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitExec(TreeTranslator.java:245)\n
 at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1296)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1231)\n
 at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:145)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitMethodDef(LambdaToMethod.java:1361)\n
 at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
 at com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:134)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1270)\n
 at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeAndPreprocessClass(LambdaToMethod.java:1197)\n
 at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.access$300(LambdaToMethod.java:1148)\n
 at com.sun.tools.javac.comp.LambdaToMethod.visitClassDef(LambdaToMethod.java:232)\n
 at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
 at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
 at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)\n
 at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)\n
 at com.sun.tools.javac.comp.LambdaToMethod.translateTopLevelClass(LambdaToMethod.java:217)\n
 at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1493)\n
 at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1356)\n
 at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)\n
 at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)\n
 at com.sun.tools.javac.main.Main.compile(Main.java:523)\n
 at com.sun.tools.javac.main.Main.compile(Main.java:381)\n
 at com.sun.tools.javac.main.Main.compile(Main.java:370)\n
 at com.sun.tools.javac.main.Main.compile(Main.java:361)\n
 at com.sun.tools.javac.Main.compile(Main.java:56)\n
 at com.sun.tools.javac.Main.main(Main.java:42)\n
]>

Stacktrace

junit.framework.ComparisonFailure: test004 - Javac found error(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
An exception has occurred in the compiler (1.8.0_131). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.\n
java.lang.AssertionError\n
	at com.sun.tools.javac.util.Assert.error(Assert.java:126)\n
	at com.sun.tools.javac.util.Assert.check(Assert.java:45)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor$LambdaTranslationContext.addSymbol(LambdaToMethod.java:2024)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1263)\n
	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1231)\n
	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitLambda(TreeTranslator.java:289)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeLambda(LambdaToMethod.java:1347)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitLambda(LambdaToMethod.java:1322)\n
	at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitApply(TreeTranslator.java:275)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitApply(LambdaToMethod.java:1208)\n
	at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitExec(TreeTranslator.java:245)\n
	at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1296)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1231)\n
	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:145)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitMethodDef(LambdaToMethod.java:1361)\n
	at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:134)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1270)\n
	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeAndPreprocessClass(LambdaToMethod.java:1197)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.access$300(LambdaToMethod.java:1148)\n
	at com.sun.tools.javac.comp.LambdaToMethod.visitClassDef(LambdaToMethod.java:232)\n
	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)\n
	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)\n
	at com.sun.tools.javac.comp.LambdaToMethod.translateTopLevelClass(LambdaToMethod.java:217)\n
	at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1493)\n
	at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1356)\n
	at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)\n
	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)\n
	at com.sun.tools.javac.main.Main.compile(Main.java:523)\n
	at com.sun.tools.javac.main.Main.compile(Main.java:381)\n
	at com.sun.tools.javac.main.Main.compile(Main.java:370)\n
	at com.sun.tools.javac.main.Main.compile(Main.java:361)\n
	at com.sun.tools.javac.Main.compile(Main.java:56)\n
	at com.sun.tools.javac.Main.main(Main.java:42)\n

--------- Difference is ----------
 expected:<[]> but was:<[An exception has occurred in the compiler (1.8.0_131). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.\n
java.lang.AssertionError\n
	at com.sun.tools.javac.util.Assert.error(Assert.java:126)\n
	at com.sun.tools.javac.util.Assert.check(Assert.java:45)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor$LambdaTranslationContext.addSymbol(LambdaToMethod.java:2024)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1263)\n
	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1231)\n
	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitLambda(TreeTranslator.java:289)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeLambda(LambdaToMethod.java:1347)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitLambda(LambdaToMethod.java:1322)\n
	at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitApply(TreeTranslator.java:275)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitApply(LambdaToMethod.java:1208)\n
	at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitExec(TreeTranslator.java:245)\n
	at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1296)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1231)\n
	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:145)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitMethodDef(LambdaToMethod.java:1361)\n
	at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)\n
	at com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:134)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1270)\n
	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeAndPreprocessClass(LambdaToMethod.java:1197)\n
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.access$300(LambdaToMethod.java:1148)\n
	at com.sun.tools.javac.comp.LambdaToMethod.visitClassDef(LambdaToMethod.java:232)\n
	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)\n
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)\n
	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)\n
	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)\n
	at com.sun.tools.javac.comp.LambdaToMethod.translateTopLevelClass(LambdaToMethod.java:217)\n
	at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1493)\n
	at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1356)\n
	at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)\n
	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)\n
	at com.sun.tools.javac.main.Main.compile(Main.java:523)\n
	at com.sun.tools.javac.main.Main.compile(Main.java:381)\n
	at com.sun.tools.javac.main.Main.compile(Main.java:370)\n
	at com.sun.tools.javac.main.Main.compile(Main.java:361)\n
	at com.sun.tools.javac.Main.compile(Main.java:56)\n
	at com.sun.tools.javac.Main.main(Main.java:42)\n
]>
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:260)
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:236)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runJavac(AbstractRegressionTest.java:2052)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2814)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2539)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runConformTest(AbstractRegressionTest.java:1342)
	at org.eclipse.jdt.core.tests.compiler.regression.LambdaRegressionTest.test004(LambdaRegressionTest.java:131)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.LambdaRegressionTest#test004 - 1.8
Y.java [
import java.util.function.Supplier;
class E {
	E(Supplier<Object> factory) { }
}
public class Y extends E {
	Y() {
		super( () -> {
			class Z extends E {
				Z() {
					super(() -> new Object());
				}
			}
			return null;
			});
	}
	public static void main(String[] args) {
		new Y();
	}
}
]


Full results sent to /tmp/comptest/run.1514610271420/1.8.0_131_20171230_000432.txt

Standard Error

--- javac err: ---
An exception has occurred in the compiler (1.8.0_131). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.AssertionError
	at com.sun.tools.javac.util.Assert.error(Assert.java:126)
	at com.sun.tools.javac.util.Assert.check(Assert.java:45)
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor$LambdaTranslationContext.addSymbol(LambdaToMethod.java:2024)
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1263)
	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
	at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1231)
	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
	at com.sun.tools.javac.tree.TreeTranslator.visitLambda(TreeTranslator.java:289)
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeLambda(LambdaToMethod.java:1347)
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitLambda(LambdaToMethod.java:1322)
	at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1624)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
	at com.sun.tools.javac.tree.TreeTranslator.visitApply(TreeTranslator.java:275)
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitApply(LambdaToMethod.java:1208)
	at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
	at com.sun.tools.javac.tree.TreeTranslator.visitExec(TreeTranslator.java:245)
	at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1296)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
	at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:162)
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitBlock(LambdaToMethod.java:1231)
	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
	at com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:145)
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitMethodDef(LambdaToMethod.java:1361)
	at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
	at com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:134)
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.visitClassDef(LambdaToMethod.java:1270)
	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.analyzeAndPreprocessClass(LambdaToMethod.java:1197)
	at com.sun.tools.javac.comp.LambdaToMethod$LambdaAnalyzerPreprocessor.access$300(LambdaToMethod.java:1148)
	at com.sun.tools.javac.comp.LambdaToMethod.visitClassDef(LambdaToMethod.java:232)
	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)
	at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:197)
	at com.sun.tools.javac.comp.LambdaToMethod.translate(LambdaToMethod.java:190)
	at com.sun.tools.javac.comp.LambdaToMethod.translateTopLevelClass(LambdaToMethod.java:217)
	at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1493)
	at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1356)
	at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)
	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
	at com.sun.tools.javac.main.Main.compile(Main.java:523)
	at com.sun.tools.javac.main.Main.compile(Main.java:381)
	at com.sun.tools.javac.main.Main.compile(Main.java:370)
	at com.sun.tools.javac.main.Main.compile(Main.java:361)
	at com.sun.tools.javac.Main.compile(Main.java:56)
	at com.sun.tools.javac.Main.main(Main.java:42)

----------------------------------------