Please implement an option to give warnings when a type variable of a generic method hides a type variable of a surrounding class.
Comments
EVALUATION
We recently ran into an instance of this problem:
TestX.java:36: type parameter Y is not within its bound
class Y1<S extends NumberList<Y>> {}
^
1 error
the Y here is referring to a class that hides a type-variable. See 6977800.
20-08-2010
CONVERTED DATA
BugTraq+ Release Management Values
COMMIT TO FIX:
mustang