ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: forking new jvm in ExecuteJava?
Date Thu, 11 Apr 2002 20:46:17 GMT

----- Original Message -----
From: "Daniel Barclay" <dbarclay@mercator.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Thursday, April 11, 2002 6:30 AM
Subject: RE: forking new jvm in ExecuteJava?


>
>
>
> > > Hey, might Ant want to use a custom Java security policy to
> > prevent called
> > > classes from (successfully) calling System.exit(0)?
> >
> > it might, but only under 1.2+, and then other things go wierd
> > indeed. We
> > cant use a security manager without risking breaking backwards
> > compatibility.
>
> How about a custom security manager instead of a custom security
> policy?  The SecurityManager and checkExit() were in 1.1.x, weren't
> they?

they changed their interface; you cant have a 1.2+ one that works in 1.1.
And all the problems I mentioned were about security managers anyway, not
policies


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message