Failed

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

Failing for the past 5 builds (Since Failed#130 )
Took 0.43 sec.

Error Message

test0060 - Eclipse found error(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. ERROR in X.java (at line 6)\n
 new ArrayList<>();\n
     ^^^^^^^^^\n
'<>' operator is not allowed for source level below 1.7\n
----------\n
2. ERROR in X.java (at line 6)\n
 new ArrayList<>();\n
     ^^^^^^^^^\n
Incorrect number of arguments for type ArrayList<E>; it cannot be parameterized with arguments <>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 6)\n
 new ArrayList<>();\n
     ^^^^^^^^^\n
'<>' operator is not allowed for source level below 1.7\n
----------\n
2. ERROR in X.java (at line 6)\n
 new ArrayList<>();\n
     ^^^^^^^^^\n
Incorrect number of arguments for type ArrayList<E>; it cannot be parameterized with arguments <>\n
----------\n
]>

Stacktrace

junit.framework.ComparisonFailure: 
test0060 - Eclipse found error(s) but Javac did not find any.
----------- Expected ------------

------------ but was ------------
----------\n
1. ERROR in X.java (at line 6)\n
	new ArrayList<>();\n
	    ^^^^^^^^^\n
'<>' operator is not allowed for source level below 1.7\n
----------\n
2. ERROR in X.java (at line 6)\n
	new ArrayList<>();\n
	    ^^^^^^^^^\n
Incorrect number of arguments for type ArrayList<E>; it cannot be parameterized with arguments <>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 6)\n
	new ArrayList<>();\n
	    ^^^^^^^^^\n
'<>' operator is not allowed for source level below 1.7\n
----------\n
2. ERROR in X.java (at line 6)\n
	new ArrayList<>();\n
	    ^^^^^^^^^\n
Incorrect number of arguments for type ArrayList<E>; it cannot be parameterized with arguments <>\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0060(GenericsRegressionTest_1_7.java:2569)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7#test0060 - 1.8
X.java [
import java.util.ArrayList;
import java.util.List;

public class X {
	 public void foo() {
    	new ArrayList<>();
	 }
}

]


Full results sent to /tmp/comptest/run.1575695066079/1.8.0_202_20191207_050428.txt

Standard Error

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