Community
Participate
Working Groups
Using latest, this code compiles fine when it should report an error: class A<T> { public static void foo(Object o) {} } interface I<T> { void foo(T t); } class X<T> extends A<T> implements I<T> { } javac reports: foo(java.lang.Object) in A cannot implement foo(T) in I; overriding method is static
With the latest I get an error on X: The type X<T> must implement the inherited abstract method I<T>.foo(T)