Community
Participate
Working Groups
get a compiler error in 3.1M3 with the following interface and implementation, "Name clash : The method getMap() of type TestInterfaceImpl<A,B> has the same erasure as getMap() of type TestInterface but does not override it TestInterfaceImpl.java" " here are TestInterface and TestInterfaceImpl that cause this error: public interface TestInterface<A, B> { public A getA(); public B getB(); public Map<String, String> getMap(); } public class TestInterfaceImpl<A,B> implements TestInterface { public A getA() { return null; } public B getB() { return null; } // *** THIS METHOD IS FLAGGED WITH COMPILER ERROR public Map<String,String> getMap() { return null; } }
Thanks for the test case. Verified this now works with HEAD.