7023963 : Simple fixes to anon diamond in the jdk.

David Holmes David.Holmes at oracle.com
Thu Mar 3 20:43:04 UTC 2011

Kumar Srinivasan said the following on 03/04/11 05:40:
> Please review, corrections to the diamond operator on anonymous classes
> as  suggested by langtools team.
> http://cr.openjdk.java.net/~ksrini/7023963/webrev.0/

Looks fine of course, but it is sad that it is necessary. I wonder what 
percentage of potential diamond usages this kills? :( Pity we couldn't 
just detect the non-denotable types and give a compilation error.


More information about the core-libs-dev mailing list