Failed
org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0053 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)
Error Message
test0053 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in Z.java (at line 3)\n foo(new Z<ZB>());\n ^\n Redundant specification of type arguments <ZB>\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in Z.java (at line 3)\n foo(new Z<ZB>());\n ^\n Redundant specification of type arguments <ZB>\n ----------\n ]>
Stacktrace
junit.framework.ComparisonFailure: test0053 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in Z.java (at line 3)\n foo(new Z<ZB>());\n ^\n Redundant specification of type arguments <ZB>\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in Z.java (at line 3)\n foo(new Z<ZB>());\n ^\n Redundant specification of type arguments <ZB>\n ----------\n ]> at org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0053(GenericsRegressionTest_1_7.java:2255)
Standard Output
org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7#test0053 - 1.8 Z.java [ public class Z <T extends ZB> { public static void main(String[] args) { foo(new Z<ZB>()); } static void foo(Z<ZB> z) { } } class ZB { } ] 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
----------------------------------------