Failed

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

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

Error Message

test447119b - Eclipse/Javac standard output mismatch.
----------- Expected ------------
- interface java.util.List lambda$0([interface java.util.List])
------------ but was ------------
- interface java.util.List lambda$main$7796d039$1([interface java.util.List])
--------- Difference is ----------
 expected:<...va.util.List lambda$[0]([interface java.uti...> but was:<...va.util.List lambda$[main$7796d039$1]([interface java.uti...>

Stacktrace

junit.framework.ComparisonFailure: test447119b - Eclipse/Javac standard output mismatch.
----------- Expected ------------
- interface java.util.List lambda$0([interface java.util.List])
------------ but was ------------
- interface java.util.List lambda$main$7796d039$1([interface java.util.List])
--------- Difference is ----------
 expected:<...va.util.List lambda$[0]([interface java.uti...> but was:<...va.util.List lambda$[main$7796d039$1]([interface java.uti...>
	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.test447119b(LambdaExpressionsTest.java:4935)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.LambdaExpressionsTest#test447119b - 1.8
X.java [
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.util.Arrays;
import java.util.function.Function;
import java.util.List;
import java.io.Serializable;public class X {
    private static interface SerializableFunction<A, R> extends Function<A, R>, Serializable { }    private static List<String> foo(List<String> x){return x;}
    public static void main(String[] args) {
        SerializableFunction<List<String>, List<String>> f = i -> { return i; };
        Method[] methods = X.class.getDeclaredMethods();
        for (Method m : methods) {
        	if (m.getName().contains("lambda")) {
        		System.out.println("- " + m.getGenericReturnType() + " " + m.getName() + "(" + Arrays.asList(m.getGenericParameterTypes()) + ")");
        	}
        }
    }
}

]


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

Standard Error

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