ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: Security Manager and System.exit
Date Fri, 14 Dec 2001 11:43:03 GMT
> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]

> > So is there any issue if we use a System manager for JDK 1.2+ (see
> > below) ?
> 
> We may not want to blindly replace an existing SecurityManager.  I
> believe NetBeans installs its own and it wouldn't be nice to disable
> it for example.

There is not much choice.

We must be able to detect System.exit when running JavaCommand so that means
we must do something with the security manager, that is: make checkExit
throws an exception and catch the exception when needed.

Stephane

--
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