7023963 : Simple fixes to anon diamond in the jdk.

maurizio cimadamore maurizio.cimadamore at oracle.com
Thu Mar 3 22:38:28 UTC 2011


On 03/03/2011 20:43, David Holmes wrote:
> 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.
>
> David
Changes look ok - thanks Kumar.

Maurizio



More information about the core-libs-dev mailing list