Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 69197 invoked from network); 14 Dec 2001 11:39:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Dec 2001 11:39:34 -0000 Received: (qmail 14986 invoked by uid 97); 14 Dec 2001 11:39:30 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 14967 invoked by uid 97); 14 Dec 2001 11:39:29 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 14956 invoked from network); 14 Dec 2001 11:39:28 -0000 Message-ID: <9B3E950CB293D411ADF4009027B0A4D2029EBA25@maileu.imediation.com> From: Stephane Bailliez To: Ant Developers List Subject: RE: Security Manager and System.exit Date: Fri, 14 Dec 2001 11:43:03 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > -----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: For additional commands, e-mail: