Community
Participate
Working Groups
The 3.1 compiler complains about the invocation of erasure claiming the invocation is ambiguous. This isn't possible since the method must be an override. import java.lang.reflect.Type; interface Navigator<TypeT> { <T> TypeT erasure(TypeT x); } class ReflectionNavigator implements Navigator<Type> { public <T> Class<T> erasure(Type t) { return null; } } class Usage { public void foo(ReflectionNavigator r, Type t) { r.erasure(t); } }
fixed & released in 3.1.1 stream
Added MethodVerify test068
released in 3.2 HEAD stream
Verified for 3.2 M2 with build I20050920-0010.
Verified for 3.1.1 using M20050923-1430.