Originally posted by Jesper Young:
This might be solved when generics are implemented differently (without type erasure). People are thinking about how to do this in Java 7.
Hallelujah! Is there a JSR for this? If not, do you have a link to where I can read more about this ongoing design work?
Personally, I think Java's generics are one of its few truly botched language features. I mean, it's amazing that they managed to accomplish so much with the type erasure mechanism, but in my experience this seems to confuse so many developers that I really wonder whether the added type safety was worth it.