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