[PATCH] support security.manager property
Casey Marshall
csm@gnu.org
Fri Jul 30 18:03:00 GMT 2004
This patch provides support of the security.manager system property
which, under other VMs, tells the runtime to install a SecurityManager
on startup. If the property is specified, but empty, an instance of
java.lang.SecurityManager is created; otherwise, the property is taken
to be a the name of a class that
Note that this patch will only work if there is a real SecurityManager
and a real AccessController; otherwise there is a nasty boostrap
problem that prevents the SecurityManager instance from being
created.
A nice property of this change is that natively linked binaries (read:
gcjappletviewer) can have a security manager set at compile-time.
2004-07-29 Casey Marshall <csm@gnu.org>
* prims.cc (_Jv_RunMain): install a security manager if the
`security.manager' property is set.
--
Casey Marshall || csm@gnu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sm.patch
Type: text/x-patch
Size: 1622 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040730/20cb7925/attachment.bin>
More information about the Java-patches
mailing list