Huston, we have a problem !

David Holmes David.Holmes at oracle.com
Wed Feb 16 03:02:43 PST 2011


Rémi Forax said the following on 02/16/11 20:04:
> public class DiamondRaw {
>    public static void main(String[] args) {
>      String s = new String<>("foo");
>    }
> }

Ok I'll bite. What's the problem? :)

I haven't seen a complete spec for this operator, but it doesn't seem 
unreasonable that diamond on a non-generic type is just a waste of two 
characters.

David



More information about the coin-dev mailing list