Regression

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 Failed#53 )
Took 0.98 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/comptest/run.1573297474160/12_20191109_110435.txt

Standard Error

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