Nested generics don't compile in 1.7.0_15, but do in 1.6.0_27.
Alex Buckley
alex.buckley at oracle.com
Tue Mar 12 12:14:18 PDT 2013
On 3/12/2013 8:07 AM, Zhong Yu wrote:
> BTW, typos in JLS7 section 4.10.2
> http://docs.oracle.com/javase/specs/jls/se7/html/jls-4.html#jls-4.10.2
> there are 3 mentionings of C<T1,...,Tn>, but the 1st and the 3rd
> should actually be C<F1,...,Fn>.
They are not typos; parameterized type != generic type.
This list is not for reporting or discussing JLS bugs. Please see the
first preface of JLS7 for where to report JLS bugs.
Alex
More information about the compiler-dev
mailing list