JDK 9 RFR of JDK-8078467: Update core libraries to use diamond with anonymous classes

Alan Bateman Alan.Bateman at oracle.com
Thu Apr 23 08:31:51 UTC 2015


On 23/04/2015 02:08, joe darcy wrote:
> Hello,
>
> Earlier in JDK 9, the diamond syntax was expanded to be usable with 
> many cases of anonymous classes. [1]
>
> Please review the fix below take advantage of the new syntax (and also 
> take advantage of the original diamond syntax in some cases) in the 
> core libraries:
>
>     JDK-8078467: Update core libraries to use diamond with anonymous 
> classes
>     http://cr.openjdk.java.net/~darcy/8078467.0/
>
> The main beneficiary of the new syntax are call sites of 
> PrivilegedAction.
>
> Follow-up bugs also filed for security libs (JDK-8078468) and 
> java.util.concurrent (JDK-8078469).
This looks okay to me to too.

-Alan.



More information about the core-libs-dev mailing list