Java generic methods: super can’t be used?

Here’s one link that explains why this is not allowed:

http://www.angelikalanger.com/GenericsFAQ/FAQSections/TypeParameters.html#FAQ107

It basically just says that use super in type parameters “does not buy you anything”, since if this is allowed, erasure will probably just erase it to Object, which does not make much sense.

Leave a Comment