Returns the ProtectionDomain of this class. If there is a
security manager installed, this method first calls the security
manager's checkPermission method with a
RuntimePermission("getProtectionDomain") permission to
ensure it's ok to get the
ProtectionDomain.
SecurityException
| if a security manager exists and its
checkPermission method doesn't allow
getting the ProtectionDomain. |
java.security.ProtectionDomain, SecurityManager.checkPermission, java.lang.RuntimePermission
Diagram: Class, Package, Module