Nested generics don't compile in 1.7.0_15, but do in 1.6.0_27.
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Mon Mar 11 11:51:32 PDT 2013
On 11/03/13 18:39, Alex Buckley wrote:
> I take "superclasses" to mean "every class in the superclass
> hierarchy", so javac is doing the right thing.
Thanks for the clarification - I now remember that when the spec wants
to talk about superclass/superinterfaces in a given declaration (not the
transitive closure) it uses the term 'direct' supertype/interface. In
this case 'direct' is not there, so I think it's legitimate to assume
that the wording means "every class in the superclass hierarchy".
Maurizio
More information about the compiler-dev
mailing list