This is originally from org.eclipse.ant.internal.core.AntSecurityManager
I have updated the PR.