MCPcopy Create free account
hub / github.com/chaoyangnz/gava / setSecurityManager

Method setSecurityManager

example/src/java/lang/System.java:259–267  ·  view source on GitHub ↗

Sets the System security. If there is a security manager already installed, this method first calls the security manager's checkPermission method with a RuntimePermission("setSecurityManager") permission to ensure it's ok to replace the existing security manager. This

(final SecurityManager s)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

setSecurityManager0Method · 0.95
checkPackageAccessMethod · 0.80

Tested by

no test coverage detected