Failed

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

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

Error Message

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

Stacktrace

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

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.LambdaExpressionsTest#test447119 - 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;
public class X {
    private static List<String> foo(List<String> x){return x;}
    public static void main(String[] args) {
        Function<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

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