This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] support security.manager property


Casey Marshall wrote:

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,


This looks good, but I don't think _Jv_RunMain is the right place for this code. For one thing, it won't work when the runtime is started by invocation, because _Jv_RunMain isn't called.

It looks to me like the code doesn't have to be native - wouldn't this be better done in the static initializer for java.lang.Runtime?

Regards

Bryce


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]