This is dangerous if for example the AntRunner was run - since they have a securitymanager too.....not sure how to avoid this though.