Huston, we have a problem !
joe.darcy at oracle.com
Wed Feb 16 10:07:08 PST 2011
On 2/16/2011 8:26 AM, Joshua Bloch wrote:
> I agree that it should be illegal.
Yes, applying <> to a non-generic class is explicitly forbidden in a
revised specification under discussion by the expert group.
Thanks for finding the issue Remi. I've filed 7020043 "Project Coin:
diamond allowed on non-generic type" to track this and we'll get it
fixed in a upcoming build.
More information about the coin-dev