ant-dev mailing list archives

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

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


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message