< prev index next >
src/java.base/share/classes/java/security/AccessController.java
Print this page
*** 610,620 ****
return AccHolder.innocuousAcc;
}
private static ProtectionDomain getCallerPD(final Class <?> caller) {
ProtectionDomain callerPd = doPrivileged
! (new PrivilegedAction<ProtectionDomain>() {
public ProtectionDomain run() {
return caller.getProtectionDomain();
}
});
--- 610,620 ----
return AccHolder.innocuousAcc;
}
private static ProtectionDomain getCallerPD(final Class <?> caller) {
ProtectionDomain callerPd = doPrivileged
! (new PrivilegedAction<>() {
public ProtectionDomain run() {
return caller.getProtectionDomain();
}
});
< prev index next >