Community
Participate
Working Groups
Currently, a warning is always issued whenever a type parameter hides another type. In some cases, however, the type that is being hidden is inaccessible. For instance, a static inner class has no access to the type parameters of the enclosing class. class C<X> { static class SubC<X> extends C<X> { // warning ... } } It would be nice if no warnings were issued in those cases of if there was an option to turn those warnings off without affecting all hidden-by-type-variable warnings.
This was resolved a while ago.