posted 18 years ago
Hi,
I have come across a strange error while using generics. I want to overwrite outerMethod() in the subclasses, and I want to use the type safety provided by generics. There is a sample static subclass called aptly sample. Is there a way to achieve the differently?
The error message I get is a bit absurd... and not helpful at all.
I can change the code, and that solves the problem, but isn't there a better solution?