Regression

org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest.test145 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since Failed#95 )
Took 0.88 sec.

Error Message

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

------------ but was ------------
BaseImpl.java:3: error: name clash: class BaseImpl has two methods with the same erasure, yet neither overrides the other\n
class BaseImpl extends Base<String> { public void setValue(String object) {} }\n
                                                  ^\n
  first method:  setValue(String) in BaseInterface\n
  second method: setValue(Object) in Base\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[BaseImpl.java:3: error: name clash: class BaseImpl has two methods with the same erasure, yet neither overrides the other\n
class BaseImpl extends Base<String> { public void setValue(String object) {} }\n
                                                  ^\n
  first method:  setValue(String) in BaseInterface\n
  second method: setValue(Object) in Base\n
1 error\n
]>

Stacktrace

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

------------ but was ------------
BaseImpl.java:3: error: name clash: class BaseImpl has two methods with the same erasure, yet neither overrides the other\n
class BaseImpl extends Base<String> { public void setValue(String object) {} }\n
                                                  ^\n
  first method:  setValue(String) in BaseInterface\n
  second method: setValue(Object) in Base\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[BaseImpl.java:3: error: name clash: class BaseImpl has two methods with the same erasure, yet neither overrides the other\n
class BaseImpl extends Base<String> { public void setValue(String object) {} }\n
                                                  ^\n
  first method:  setValue(String) in BaseInterface\n
  second method: setValue(Object) in Base\n
1 error\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest.test145(MethodVerifyTest.java:9263)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.MethodVerifyTest#test145 - 10
BaseImpl.java [
abstract class Base<Tvalue> implements BaseInterface<Tvalue>{ public void setValue(Object object) {} }
interface BaseInterface<Tvalue> { void setValue(Tvalue object); }
class BaseImpl extends Base<String> { public void setValue(String object) {} }
]


Full results sent to /tmp/genie.jdt/comptest/run.1565496180436/10.0.1_20190811_000308.txt

Standard Error

--- javac err: ---
BaseImpl.java:3: error: name clash: class BaseImpl has two methods with the same erasure, yet neither overrides the other
class BaseImpl extends Base<String> { public void setValue(String object) {} }
                                                  ^
  first method:  setValue(String) in BaseInterface
  second method: setValue(Object) in Base
1 error

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