Skip to content

Failed

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

Failing for the past 35 builds (Since #9 )
Took 0.68 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 - 11
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/genie.jdt/comptest/run.1565427784609/11_20190810_050312.txt

Standard Error

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