Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test0217 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

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

Error Message

test0217 - Eclipse/Javac standard error mismatch.
----------- Expected ------------
java.lang.IndexOutOfBoundsException
------------ but was ------------
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\n
 at java.util.ArrayList.rangeCheck(ArrayList.java:653)\n
 at java.util.ArrayList.get(ArrayList.java:429)\n
 at X.main(X.java:5)
--------- Difference is ----------
 expected:<[java.lang.IndexOutOfBoundsException]> but was:<[Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\n
 at java.util.ArrayList.rangeCheck(ArrayList.java:653)\n
 at java.util.ArrayList.get(ArrayList.java:429)\n
 at X.main(X.java:5)]>

Stacktrace

junit.framework.ComparisonFailure: test0217 - Eclipse/Javac standard error mismatch.
----------- Expected ------------
java.lang.IndexOutOfBoundsException
------------ but was ------------
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\n
	at java.util.ArrayList.rangeCheck(ArrayList.java:653)\n
	at java.util.ArrayList.get(ArrayList.java:429)\n
	at X.main(X.java:5)
--------- Difference is ----------
 expected:<[java.lang.IndexOutOfBoundsException]> but was:<[Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\n
	at java.util.ArrayList.rangeCheck(ArrayList.java:653)\n
	at java.util.ArrayList.get(ArrayList.java:429)\n
	at X.main(X.java:5)]>
	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:2072)
	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:3028)
	at org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test0217(GenericTypeTest.java:6498)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest#test0217 - 1.8
X.java [
import java.util.ArrayList;
public class X {
    public static void main(String [] args) {
		ArrayList<String> l= new ArrayList<String>();
		String string = (String) l.get(0);
    }
}

]


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

Standard Error

--- javac err: ---
X.java:5: warning: [cast] redundant cast to String
		String string = (String) l.get(0);
		                ^
1 warning

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