ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22533] - [PATCH] Adding Permissions / Security Manager to Java task and JUnit task
Date Sat, 30 Aug 2003 21:19:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22533>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22533

[PATCH] Adding Permissions / Security Manager to Java task and JUnit task





------- Additional Comments From ant@kruithof.xs4all.nl  2003-08-30 21:19 -------
Hi,

What are the problems?

(quote:
There have been problems with the attempt to set special permissions to capture
exit attempts as BuildException in the java task when failonerror="true".
)

Furthermore it seems funny to me to do something special in case failonerror is
specified as being true, but to do nothing in case failonerror is specified as
being false.

If adding it silently I would grant java.security.AllPermission and only revoke
the java.lang.RuntimePermission exitVM one. The user is unaware that permissions
are used and would probably assume everything is allowed.

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


Mime
View raw message