< prev index next >

src/java.base/share/classes/java/security/AccessController.java

Print this page

        

@@ -610,11 +610,11 @@
         return AccHolder.innocuousAcc;
     }
 
     private static ProtectionDomain getCallerPD(final Class <?> caller) {
         ProtectionDomain callerPd = doPrivileged
-            (new PrivilegedAction<ProtectionDomain>() {
+            (new PrivilegedAction<>() {
             public ProtectionDomain run() {
                 return caller.getProtectionDomain();
             }
         });
 
< prev index next >