--- old/src/java.base/share/classes/javax/crypto/JceSecurity.java 2015-04-23 15:28:20.328132729 -0700 +++ new/src/java.base/share/classes/javax/crypto/JceSecurity.java 2015-04-23 15:28:19.972132721 -0700 @@ -76,7 +76,7 @@ static { try { AccessController.doPrivileged( - new PrivilegedExceptionAction () { + new PrivilegedExceptionAction<> () { @Override public Void run() throws Exception { setupJurisdictionPolicies(); @@ -225,7 +225,7 @@ URL url = codeBaseCacheRef.get(clazz); if (url == null) { url = AccessController.doPrivileged( - new PrivilegedAction() { + new PrivilegedAction<>() { @Override public URL run() { ProtectionDomain pd = clazz.getProtectionDomain();