Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0052c - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 10 builds (Since Failed#44 )
Took 0.92 sec.

Error Message

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 4)\n
 X<Integer> x = new X<Integer>("","");\n
                    ^\n
Redundant specification of type arguments <Integer>\n
----------\n
2. ERROR in X.java (at line 8)\n
 return new X<Integer>("","");\n
            ^\n
Redundant specification of type arguments <Integer>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 4)\n
 X<Integer> x = new X<Integer>("","");\n
                    ^\n
Redundant specification of type arguments <Integer>\n
----------\n
2. ERROR in X.java (at line 8)\n
 return new X<Integer>("","");\n
            ^\n
Redundant specification of type arguments <Integer>\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 4)\n
	X<Integer> x = new X<Integer>("","");\n
	                   ^\n
Redundant specification of type arguments <Integer>\n
----------\n
2. ERROR in X.java (at line 8)\n
	return new X<Integer>("","");\n
	           ^\n
Redundant specification of type arguments <Integer>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 4)\n
	X<Integer> x = new X<Integer>("","");\n
	                   ^\n
Redundant specification of type arguments <Integer>\n
----------\n
2. ERROR in X.java (at line 8)\n
	return new X<Integer>("","");\n
	           ^\n
Redundant specification of type arguments <Integer>\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0052c(GenericsRegressionTest_1_7.java:2191)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7#test0052c - 12
X.java [
public class X<E> {
	X(String abc, String def) {}
	void foo() {
		X<Integer> x = new X<Integer>("","");
		foo3(new X<Integer>("",""));
	}
	X<Integer> foo2() {
		return new X<Integer>("","");
	}
	void foo3(X<Integer> x) {}
}
]


Full results sent to /tmp/comptest/run.1573297474160/12_20191109_110435.txt

Standard Error

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