[Bug 68879] After upgrade to JDK 21: "The Security Manager is deprecated"
https://bz.apache.org/bugzilla/show_bug.cgi?id=68879 --- Comment #1 from arturrataj --- Maybe linked to this release note: * When using Java 18 or higher, Ant will no longer use Java SecurityManager because it has been deprecated for removal and by default is disallowed to be set at runtime Would it affect ? I don't have any in that task, only and . -- You are receiving this mail because: You are the assignee for the bug.
[Bug 68879] After upgrade to JDK 21: "The Security Manager is deprecated"
https://bz.apache.org/bugzilla/show_bug.cgi?id=68879 arturrataj changed: What|Removed |Added Resolution|--- |CLOSED Status|NEW |RESOLVED --- Comment #2 from arturrataj --- helped. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 68879] After upgrade to JDK 21: "The Security Manager is deprecated"
https://bz.apache.org/bugzilla/show_bug.cgi?id=68879 Jaikiran Pai changed: What|Removed |Added Resolution|CLOSED |--- Status|RESOLVED|REOPENED --- Comment #3 from Jaikiran Pai --- Hello arturrataj, you shouldn't be seeing that exception. Can you show us the build.xml snippet where this target uses the java task? -- You are receiving this mail because: You are the assignee for the bug.
[Bug 68879] After upgrade to JDK 21: "The Security Manager is deprecated"
https://bz.apache.org/bugzilla/show_bug.cgi?id=68879 --- Comment #4 from arturrataj --- Created attachment 39656 --> https://bz.apache.org/bugzilla/attachment.cgi?id=39656&action=edit A build.xml file build.xml:92: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release -- You are receiving this mail because: You are the assignee for the bug.
[Bug 68879] After upgrade to JDK 21: "The Security Manager is deprecated"
https://bz.apache.org/bugzilla/show_bug.cgi?id=68879 --- Comment #5 from Jaikiran Pai --- Thank you for attaching the build file. At first glance it looks fine to me and shouldn't raise the exception you are seeing. Are you sure that failing run is indeed using Ant 1.10.14 version? Can you upload the entire build log by launching ant using -v option. Something like "ant -v "? -- You are receiving this mail because: You are the assignee for the bug.
[Bug 68879] After upgrade to JDK 21: "The Security Manager is deprecated"
https://bz.apache.org/bugzilla/show_bug.cgi?id=68879 arturrataj changed: What|Removed |Added Resolution|--- |CLOSED Status|REOPENED|RESOLVED Version|1.10.14 |1.10.12 --- Comment #6 from arturrataj --- No, it was 1.10.12. It's fine with 1.10.14, thanks. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 68879] After upgrade to JDK 21: "The Security Manager is deprecated"
https://bz.apache.org/bugzilla/show_bug.cgi?id=68879 --- Comment #7 from Jaikiran Pai --- > No, it was 1.10.12. It's fine with 1.10.14, thanks. That's good to hear. Thank you for the update. -- You are receiving this mail because: You are the assignee for the bug.