We no longer force canonical types in type closure. Still, for a hierarchy like this:
class MyRawBean extends MyBean class MyBean<T> implements MyInterface interface MyInterface extends MySuperInterface<Number>
we discover MySuperInterface<Number> as the bean type, not MySuperInterface.class
I know there was some oddity in JLS that suggested that the latter case is valid. Matus Abaffy can you remind me what it was / where exactly it is defined?
|