Failed

org.eclipse.jdt.core.tests.compiler.regression.LambdaExpressionsTest.test509804 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 4 builds (Since #6 )
Took 0.95 sec.

Error Message

test509804 - Eclipse/Javac standard output mismatch.
----------- Expected ------------
private static java.lang.Object Test.lambda$1()
------------ but was ------------
private static java.lang.Object Test.lambda$static$0()
--------- Difference is ----------
 expected:<....Object Test.lambda$[1]()> but was:<....Object Test.lambda$[static$0]()>

Stacktrace

junit.framework.ComparisonFailure: test509804 - Eclipse/Javac standard output mismatch.
----------- Expected ------------
private static java.lang.Object Test.lambda$1()
------------ but was ------------
private static java.lang.Object Test.lambda$static$0()
--------- Difference is ----------
 expected:<....Object Test.lambda$[1]()> but was:<....Object Test.lambda$[static$0]()>
	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:2068)
	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:1396)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runConformTest(AbstractRegressionTest.java:1393)
	at org.eclipse.jdt.core.tests.compiler.regression.LambdaExpressionsTest.test509804(LambdaExpressionsTest.java:6393)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.LambdaExpressionsTest#test509804 - 1.8
Test.java [
import java.lang.reflect.Method;
import java.util.function.Supplier;
public enum Test {
	A(Object::new),
	B(() -> new Object(){}),
	;
	private final Supplier<Object> s;
	Test(Supplier<Object> e){
		this.s = e;
	}
	public static void main(String[] args) throws NoSuchMethodException, SecurityException {
		System.out.println(B.s.get().getClass().getEnclosingMethod());
	}
}

]


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

Standard Error

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