ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: <javac>, System.exit() and security managers
Date Mon, 11 Feb 2002 08:20:16 GMT
On Mon, 11 Feb 2002 09:44, Steve Loughran wrote:
> I have just committed the test case for javac which demonstrates that
> unforked execution does not pick up exit codes, seemingly because there is
> no security manager in place to catch calls to System.exit(), which is at
> odds with my vague recollections.

Unfortunately installing a security manager is backwards incompatible so it 
not get added ;(

> We have the ant.util.optional.NoExitSecurityManager, but IDEA says that
> nobody is using this class. So how do are we currently trying to stop
> <javac> tasks from calling System.exit(), and, given that it clearly does
> not work, how can we fix it.

I don't think we can without forking.

-- 
Cheers,

Pete

"You know what a dumbshit the 'average man' on the street is? Well, by
definition, half of them are even dumber than that!"
					J.R. "Bob" Dobbs

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


Mime
View raw message