Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test442929 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

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

Error Message

test442929 - Eclipse/Javac standard output mismatch.
----------- Expected ------------
Expected CCE
------------ but was ------------

--------- Difference is ----------
 expected:<[Expected CCE]> but was:<[]>

Stacktrace

junit.framework.ComparisonFailure: test442929 - Eclipse/Javac standard output mismatch.
----------- Expected ------------
Expected CCE
------------ but was ------------

--------- Difference is ----------
 expected:<[Expected CCE]> but was:<[]>
	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.GenericsRegressionTest_1_7.test442929(GenericsRegressionTest_1_7.java:2712)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7#test442929 - 1.8
X.java [
public class X {
	public static void main(String[] args) {
		shouldNotThrow();
	}
	static void shouldNotThrow() {
		final String[] array = { "" };
		final String[] expected = { "" };
		// throws
       try {
		    assertThat(op(array, "")).isEqualTo(expected);
       } catch (ClassCastException c) {
           System.out.println("Expected CCE");
       }
	}
	static <T> T[] op(T[] array, T element) {
		return asArray(element);
	}
	@SafeVarargs
	static <T> T[] asArray(T... elements) {
		return elements;
	}
	static <T> ObjectArrayAssert<T> assertThat(T actual) {
		return new ObjectArrayAssert<>(actual);
	}
	static class ObjectArrayAssert<T> {
		ObjectArrayAssert(T actual) {
		}
		void isEqualTo(T expected) {
		}
	}
}

]


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

Standard Error

--- javac err: ---
X.java:20: warning: [varargs] Varargs method could cause heap pollution from non-reifiable varargs parameter elements
		return elements;
		       ^
1 warning

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