Failed
org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0054 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)
Error Message
test0054 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in Y.java (at line 3)\n return new Y<W>();\n ^\n Redundant specification of type arguments <W>\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in Y.java (at line 3)\n return new Y<W>();\n ^\n Redundant specification of type arguments <W>\n ----------\n ]>
Stacktrace
junit.framework.ComparisonFailure: test0054 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in Y.java (at line 3)\n return new Y<W>();\n ^\n Redundant specification of type arguments <W>\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in Y.java (at line 3)\n return new Y<W>();\n ^\n Redundant specification of type arguments <W>\n ----------\n ]> at org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0054(GenericsRegressionTest_1_7.java:2283)
Standard Output
org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7#test0054 - 1.8 Y.java [ public class Y<V> { public static <W extends ABC> Y<W> make(Class<W> clazz) { return new Y<W>(); } } class ABC{} ] Full results sent to /home/jenkins/agent/workspace/eclipse.jdt.core-run.javac-1.8/tmp/comptest/run.1584479137560/1.8.0_202_20200317_210541.txt
Standard Error
----------------------------------------