Community
Participate
Working Groups
3.2RC2 gives a compile error for the test case below. RC1 behaved correctly, giving no compile error. public interface Foo< ContextType extends Foo.Context > { class Context { // ... }; } public abstract class Bar { public abstract void run( Foo.Context context ); } public class ConcreteBar extends Bar { /** * @see Bar#run(Foo.Context) */ @Override public void run( Foo.Context context ) { } } I believe this code is legitimate, but with RC2 this gives the following errors: Name clash: The method run(Foo.Context) of type ConcreteBar has the same erasure as run(Foo.Context) of type Bar but does not override it The method run(Foo.Context) of type ConcreteBar must override a superclass method The type ConcreteBar must implement the inherited abstract method Bar.run(Foo.Context)
I cannot reproduce using 3.2 RC3. It sounds to be a duplicate of bug 139525. Please try with RC3 and let us know if you confirm that your problem is fixed, thanks *** This bug has been marked as a duplicate of 139525 ***
Confirmed that RC3 resolves this issue.