Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_8.testBug488663 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 5 builds (Since Failed#105 )
Took 0.62 sec.

Error Message

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

------------ but was ------------
----------\n
1. ERROR in C.java (at line 3)\n
 Comparator<String> comparator = new Comparator<String>() { //\n
                                     ^^^^^^^^^^\n
Redundant specification of type arguments <String>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in C.java (at line 3)\n
 Comparator<String> comparator = new Comparator<String>() { //\n
                                     ^^^^^^^^^^\n
Redundant specification of type arguments <String>\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in C.java (at line 3)\n
	Comparator<String> comparator = new Comparator<String>() { //\n
	                                    ^^^^^^^^^^\n
Redundant specification of type arguments <String>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in C.java (at line 3)\n
	Comparator<String> comparator = new Comparator<String>() { //\n
	                                    ^^^^^^^^^^\n
Redundant specification of type arguments <String>\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_8.testBug488663(GenericsRegressionTest_1_8.java:7328)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_8#testBug488663 - 10
C.java [
import java.util.Comparator;
public class C {
	Comparator<String> comparator = new Comparator<String>() { //
		@Override
		public int compare(String o1, String o2) {
			return 0;
		}
	};
}
]


Full results sent to /tmp/comptest/run.1570939403540/10.0.2_20191013_040324.txt

Standard Error

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