Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0055 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 6 builds (Since Failed#111 )
Took 1.1 sec.

Error Message

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 6)\n
 X<String>.Inner<Integer> a= new X<String>().new Inner<Integer>();\n
                                                 ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
2. ERROR in X.java (at line 8)\n
 Inner<Integer> b= new X<A>().new Inner<Integer>();\n
                                  ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
3. ERROR in X.java (at line 9)\n
 Inner<Integer> c= new Inner<Integer>();\n
                       ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
4. ERROR in X.java (at line 10)\n
 X<A>.Inner<Integer> e= new X<A>().new Inner<Integer>();\n
                                       ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
5. ERROR in X.java (at line 11)\n
 X<A>.Inner<Integer> f= new Inner<Integer>();\n
                            ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
6. ERROR in X.java (at line 12)\n
 X.Inner2<Integer> d3 = new X.Inner2<Integer>();\n
                              ^^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 6)\n
 X<String>.Inner<Integer> a= new X<String>().new Inner<Integer>();\n
                                                 ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
2. ERROR in X.java (at line 8)\n
 Inner<Integer> b= new X<A>().new Inner<Integer>();\n
                                  ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
3. ERROR in X.java (at line 9)\n
 Inner<Integer> c= new Inner<Integer>();\n
                       ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
4. ERROR in X.java (at line 10)\n
 X<A>.Inner<Integer> e= new X<A>().new Inner<Integer>();\n
                                       ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
5. ERROR in X.java (at line 11)\n
 X<A>.Inner<Integer> f= new Inner<Integer>();\n
                            ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
6. ERROR in X.java (at line 12)\n
 X.Inner2<Integer> d3 = new X.Inner2<Integer>();\n
                              ^^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 6)\n
	X<String>.Inner<Integer> a= new X<String>().new Inner<Integer>();\n
	                                                ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
2. ERROR in X.java (at line 8)\n
	Inner<Integer> b= new X<A>().new Inner<Integer>();\n
	                                 ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
3. ERROR in X.java (at line 9)\n
	Inner<Integer> c= new Inner<Integer>();\n
	                      ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
4. ERROR in X.java (at line 10)\n
	X<A>.Inner<Integer> e= new X<A>().new Inner<Integer>();\n
	                                      ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
5. ERROR in X.java (at line 11)\n
	X<A>.Inner<Integer> f= new Inner<Integer>();\n
	                           ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
6. ERROR in X.java (at line 12)\n
	X.Inner2<Integer> d3 = new X.Inner2<Integer>();\n
	                             ^^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 6)\n
	X<String>.Inner<Integer> a= new X<String>().new Inner<Integer>();\n
	                                                ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
2. ERROR in X.java (at line 8)\n
	Inner<Integer> b= new X<A>().new Inner<Integer>();\n
	                                 ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
3. ERROR in X.java (at line 9)\n
	Inner<Integer> c= new Inner<Integer>();\n
	                      ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
4. ERROR in X.java (at line 10)\n
	X<A>.Inner<Integer> e= new X<A>().new Inner<Integer>();\n
	                                      ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
5. ERROR in X.java (at line 11)\n
	X<A>.Inner<Integer> f= new Inner<Integer>();\n
	                           ^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
6. ERROR in X.java (at line 12)\n
	X.Inner2<Integer> d3 = new X.Inner2<Integer>();\n
	                             ^^^^^^\n
Redundant specification of type arguments <Integer>\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7.test0055(GenericsRegressionTest_1_7.java:2308)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest_1_7#test0055 - 10
X.java [
public class X<A> {
  class Inner<B> { }
  static class Inner2<C> { }

  void method() {
    X<String>.Inner<Integer> a= new X<String>().new Inner<Integer>();
    X<String>.Inner<Integer> a1= new X<String>().new Inner<>();
    Inner<Integer> b= new X<A>().new Inner<Integer>();
    Inner<Integer> c= new Inner<Integer>();
    X<A>.Inner<Integer> e= new X<A>().new Inner<Integer>();
    X<A>.Inner<Integer> f= new Inner<Integer>();
    X.Inner2<Integer> d3 = new X.Inner2<Integer>();
  }
}

]


Full results sent to /tmp/comptest/run.1575176690486/10.0.2_20191201_050454.txt

Standard Error

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