Skip to content

Failed

org.eclipse.jdt.core.tests.compiler.regression.LambdaExpressionsTest.test039 - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since #44 )
Took 0.93 sec.

Error Message

test039 - Eclipse/Javac standard output mismatch.
----------- Expected ------------
class X cannot be cast to class I (X and I are in unnamed module of loader
------------ but was ------------
class X cannot be cast to class I (X and I are in unnamed module of loader 'app')
--------- Difference is ----------
 expected:<...med module of loader[]> but was:<...med module of loader[ 'app')]>

Stacktrace

junit.framework.ComparisonFailure: 
test039 - Eclipse/Javac standard output mismatch.
----------- Expected ------------
class X cannot be cast to class I (X and I are in unnamed module of loader
------------ but was ------------
class X cannot be cast to class I (X and I are in unnamed module of loader 'app')
--------- Difference is ----------
 expected:<...med module of loader[]> but was:<...med module of loader[ 'app')]>
	at org.eclipse.jdt.core.tests.compiler.regression.LambdaExpressionsTest.test039(LambdaExpressionsTest.java:1033)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.LambdaExpressionsTest#test039 - 12
X.java [
interface I {
}
interface J {
}
public class X implements J {
	public static void main( String [] args) { 
		f(new X());
	}
	static void f(Object o) {
       try {
		    X x = (X & I & J) o;
       } catch (ClassCastException e) {
           System.out.println(e.getMessage());
       }
	}
}

]


Full results sent to /tmp/genie.jdt/comptest/run.1565715170219/12_20190813_125251.txt

Standard Error

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