Huston, we have a problem !

Rémi Forax forax at univ-mlv.fr
Wed Feb 16 03:30:26 PST 2011


On 02/16/2011 12:02 PM, David Holmes wrote:
> 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

David,
In fact, you have already use this feature when you write ForkJoinUtils.
I've found that bug when trying to understand your code.

Rémi




More information about the coin-dev mailing list