JDK 9 RFR of JDK-8078467: Update core libraries to use diamond with anonymous classes
joe darcy
joe.darcy at oracle.com
Thu Apr 23 01:08:18 UTC 2015
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).
Thanks,
-Joe
[1] http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-April/002130.html
More information about the core-libs-dev
mailing list