Failed

org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest.test037e - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

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

Error Message

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 1)\n
 public abstract class X extends Y implements I { }\n
                       ^\n
Name clash: The method foo(T) of type Y has the same erasure as foo(T) of type I but does not override it\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 1)\n
 public abstract class X extends Y implements I { }\n
                       ^\n
Name clash: The method foo(T) of type Y has the same erasure as foo(T) of type I but does not override it\n
----------\n
]>

Stacktrace

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

------------ but was ------------
----------\n
1. ERROR in X.java (at line 1)\n
	public abstract class X extends Y implements I { }\n
	                      ^\n
Name clash: The method foo(T) of type Y has the same erasure as foo(T) of type I but does not override it\n
----------\n

--------- Difference is ----------
 expected:<[]> but was:<[----------\n
1. ERROR in X.java (at line 1)\n
	public abstract class X extends Y implements I { }\n
	                      ^\n
Name clash: The method foo(T) of type Y has the same erasure as foo(T) of type I but does not override it\n
----------\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest.test037e(MethodVerifyTest.java:2662)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest#test037e - 12
X.java [
public abstract class X extends Y implements I { }
interface I { <T, S> void foo(T t); }
class Y { <T> void foo(T t) {} }

]


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

Standard Error

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