I think, that's already solved by the SecurityManager concept - so let's
not reinvent the wheel

Carsten


2014/1/15 Bertrand Delacretaz <[email protected]>

> On Wed, Jan 15, 2014 at 1:39 AM, Felix Meschberger <[email protected]>
> wrote:
> > ...while this would get us the java.lang.System allowed or not ? But it
> not get us "prevent System.exit".
> > But it would get us "no reflection here, sorry" ;-)...
>
> If you're in control of the classloader that provides the
> java.lang.System class, could you manipulate its bytecode to block
> access to System.exit() for example? Like make that method private? I
> haven't done much of that, dunno if it's possible.
>
> -Bertrand
>



-- 
Carsten Ziegeler
[email protected]

Reply via email to