Skip to content

Failed

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

Failing for the past 35 builds (Since #9 )
Took 0.74 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 - 11
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/genie.jdt/comptest/run.1565427784609/11_20190810_050312.txt

Standard Error

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