ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Halloway (DevelopMentor)" <...@develop.com>
Subject [PATCH] Main.runBuild does not need to setSecurityManager
Date Sun, 09 Feb 2003 19:15:05 GMT
Ant's runBuild makes an unnecessary call to setSecurityManager. This 
causes problems when running Ant with security turned on because that's 
a pretty sensitive permission to grant. :-)

I found this problem while testing PermissionSniffer [1], which is a 
prototype interactive SecurityManager. Sniffing out defects was an 
unexpected side effect.

Cheers,
Stu

[1] http://staff.develop.com/halloway/code/PermissionSniffer.html

----------------------------------------------------------
Stuart Halloway         : staff.develop.com/halloway
DevelopMentor           : www.develop.com
Essential Java          : www.develop.com/courses/essjava
----------------------------------------------------------
	

Mime
View raw message