You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/02/02 18:28:01 UTC

DO NOT REPLY [Bug 33361] - Java.executeJava should install default Permissions and check ExitException code when failonerror=false for non forked calls

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33361>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33361





------- Additional Comments From stevel@apache.org  2005-02-02 18:28 -------
The reason the security stuff only went in when failonerror was true was
backwards compatibility; once a security manager is in place, things behave
differently.

There is nothing to stop you adding your own <permissions> entry inside to get
the behaviour you want; the failonerror thing is just a shortcut, you indicating
the code exits with system.exit.

I know this is somewhat unsatisfactory, and am leaving this bug open.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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