JDK 9 RFR of JDK-8078468: Update security libraries to use diamond with anonymous classes

Joseph D. Darcy joe.darcy at oracle.com
Thu Apr 23 22:34:03 UTC 2015


Hello,

Please review the straightforward changes to address

     JDK-8078468: Update security libraries to use diamond with 
anonymous classes
     http://cr.openjdk.java.net/~darcy/8078468.0/

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.

Thanks,

-Joe


More information about the security-dev mailing list