Nested generics don't compile in 1.7.0_15, but do in 1.6.0_27.
John Spicer
jhs at edg.com
Tue Mar 12 12:39:37 PDT 2013
On Mar 12, 2013, at 3:14 PM, Alex Buckley <alex.buckley at oracle.com> wrote:
> 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.
>
Note that this information is not in just any version of JLS7. I have two versions that both say:
Specification: JSR-000901 Java™ Language Specification ("Specification")
Version: 7
Status: Final Release
Release: July 2011
The one with the information is dated 2013-02-28 on the cover page and has 2013 copyright.
The new version includes the text:
Readers may send feedback about errors and ambiguities in The Java Language
Specification to jls-comments_ww at oracle.com.
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20130312/78e211d2/attachment.html
More information about the compiler-dev
mailing list