Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0052b - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 4 builds (Since #6 )
Took 0.63 sec.

Error Message

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 7)\n
 X<Number> x = new X<Number>(1);\n
                   ^\n
Redundant specification of type arguments <Number>\n
----------\n
2. ERROR in X.java (at line 8)\n
 X<String> x2 = new X<String>("SUCCESS");\n
                    ^\n
Redundant specification of type arguments <String>\n
----------\n
3. ERROR in X.java (at line 9)\n
 X<String> x22 = new X<String>(1,"SUCCESS");\n
                     ^\n
Redundant specification of type arguments <String>\n
----------\n
4. ERROR in X.java (at line 10)\n
 X<Integer> x3 = new X<Integer>(1);\n
                     ^\n
Redundant specification of type arguments <Integer>\n
----------\n
5. ERROR in X.java (at line 11)\n
 String s = foo(new X<String>("aaa"));\n
                    ^\n
Redundant specification of type arguments <String>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 7)\n
 X<Number> x = new X<Number>(1);\n
                   ^\n
Redundant specification of type arguments <Number>\n
----------\n
2. ERROR in X.java (at line 8)\n
 X<String> x2 = new X<String>("SUCCESS");\n
                    ^\n
Redundant specification of type arguments <String>\n
----------\n
3. ERROR in X.java (at line 9)\n
 X<String> x22 = new X<String>(1,"SUCCESS");\n
                     ^\n
Redundant specification of type arguments <String>\n
----------\n
4. ERROR in X.java (at line 10)\n
 X<Integer> x3 = new X<Integer>(1);\n
                     ^\n
Redundant specification of type arguments <Integer>\n
----------\n
5. ERROR in X.java (at line 11)\n
 String s = foo(new X<String>("aaa"));\n
                    ^\n
Redundant specification of type arguments <String>\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 7)\n
	X<Number> x = new X<Number>(1);\n
	                  ^\n
Redundant specification of type arguments <Number>\n
----------\n
2. ERROR in X.java (at line 8)\n
	X<String> x2 = new X<String>("SUCCESS");\n
	                   ^\n
Redundant specification of type arguments <String>\n
----------\n
3. ERROR in X.java (at line 9)\n
	X<String> x22 = new X<String>(1,"SUCCESS");\n
	                    ^\n
Redundant specification of type arguments <String>\n
----------\n
4. ERROR in X.java (at line 10)\n
	X<Integer> x3 = new X<Integer>(1);\n
	                    ^\n
Redundant specification of type arguments <Integer>\n
----------\n
5. ERROR in X.java (at line 11)\n
	String s = foo(new X<String>("aaa"));\n
	                   ^\n
Redundant specification of type arguments <String>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 7)\n
	X<Number> x = new X<Number>(1);\n
	                  ^\n
Redundant specification of type arguments <Number>\n
----------\n
2. ERROR in X.java (at line 8)\n
	X<String> x2 = new X<String>("SUCCESS");\n
	                   ^\n
Redundant specification of type arguments <String>\n
----------\n
3. ERROR in X.java (at line 9)\n
	X<String> x22 = new X<String>(1,"SUCCESS");\n
	                    ^\n
Redundant specification of type arguments <String>\n
----------\n
4. ERROR in X.java (at line 10)\n
	X<Integer> x3 = new X<Integer>(1);\n
	                    ^\n
Redundant specification of type arguments <Integer>\n
----------\n
5. ERROR in X.java (at line 11)\n
	String s = foo(new X<String>("aaa"));\n
	                   ^\n
Redundant specification of type arguments <String>\n
----------\n
]>
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:260)
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:236)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runJavac(AbstractRegressionTest.java:2044)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2814)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2539)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runNegativeTest(AbstractRegressionTest.java:2220)
	at org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0052b(GenericsRegressionTest_1_7.java:2108)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7#test0052b - 1.8
X.java [
public class X<E> {
	 E eField;
	 E get() { return this.eField; }
    X(E e) {}
    X(int e, String e2) {}
    public static void main(String[] args) {
        X<Number> x = new X<Number>(1);
        X<String> x2 = new X<String>("SUCCESS");
        X<String> x22 = new X<String>(1,"SUCCESS");
        X<Integer> x3 = new X<Integer>(1);
        String s = foo(new X<String>("aaa"));
        String s2 = foo(new X<String>(1,"aaa"));
	}
    static String foo(X<String> x) {
		return x.get();
    }
}

]


Full results sent to /tmp/comptest/run.1514610271420/1.8.0_131_20171230_000432.txt

Standard Error

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