Skip to main content

Blog Archive for forax during August 2009

Joe Darcy has revealed the changes accepted to be included in JDK7 on coin-dev mailing list And the final Project Coin changes accepted are:     Improved Type Inference for Generic Instance Creation (diamond)      Simplified Varargs Method Invocation     Strings in switch     An omnibus proposal for better integral literals  ...
Maurizio Cimadamore has just push a patch that enable to use diamond syntax to instantiate a generics. The diamond syntax is one of the changes introduced by the coin project and is the first one introduced in jdk7 repository. The diamond syntax allows to instantiate a generic type without specify the type argument, the compiler will infer them using the context. In the...