JDK 9 RFR of JDK-8078468: Update security libraries to use diamond with anonymous classes
weijun.wang at oracle.com
Fri Apr 24 00:33:13 UTC 2015
The changes look good.
I remember last time when Stuart updated JDK to use diamond there was a
rule that if the assignment of a variable is a little far from its
definition, then we don't use diamond. It seems we are not obeying it
On 4/24/2015 6:34 AM, Joseph D. Darcy wrote:
> Please review the straightforward changes to address
> JDK-8078468: Update security libraries to use diamond with
> anonymous classes
> This patch combines two kinds of updates; the first to use traditional
> diamond available since JDK 7 and the second to use diamond with
> anonymous classes, a feature now available in JDK 9. As with core
> libraries (JDK-8078467), many of the uses of the new feature are
> locations where "new PrivilegedAction" is used.
> The diamond location candidates were found using a finder built into javac.
More information about the security-dev