From daa0b5fc350b95895325b113ee88d1af97ada2b9 Mon Sep 17 00:00:00 2001
From: Peter Donald
Date: Sat, 23 Mar 2002 23:20:13 +0000
Subject: [PATCH] Add SecurityManager TODO
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271993 13f79535-47bb-0310-9956-ffa450edef68
---
proposal/myrmidon/src/xdocs/todo.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/proposal/myrmidon/src/xdocs/todo.xml b/proposal/myrmidon/src/xdocs/todo.xml
index 6321131be..f0e5a7830 100644
--- a/proposal/myrmidon/src/xdocs/todo.xml
+++ b/proposal/myrmidon/src/xdocs/todo.xml
@@ -14,6 +14,26 @@
sections describe some of the many things which still need to be done to
achieve that goal. This list is currently under construction.
+
+
+
Add the ability to run java programs that call System.exit() by adding a
+ security manager. Should look something like:
+
+public class MyrmidonSecurityManager
+ extends SecurityManager
+{
+ public void checkExit( final int status )
+ {
+ throw new ExitException( status );
+ }
+
+ public void checkPermission( final Permission permission )
+ {
+ }
+}
+
+
+
Myrmidon must be able to build itself. Currently, it is built using