https://bz.apache.org/bugzilla/show_bug.cgi?id=66540
Bug ID: 66540
Summary: JDK18 SecurityManager fix in ant script does not work
with direct invocation of ant Main
Product: Ant
Version: 1.10.13
Hardware: All
OS: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
The current fix for invoking setSecurityManager in ant is to add
-Djava.security.manager=allow to the ant script.
I know there are several bugs related to this already.
This also doesn't work for direct invocation of ant using
org.apache.tools.ant.Main.
ant should be changed to not call setSecurityManager on JDK18 or higher.
--
You are receiving this mail because:
You are the assignee for the bug.