https://bz.apache.org/bugzilla/show_bug.cgi?id=67417
Bug ID: 67417 Summary: windows execution of java process having ant commands is failing with exit code 255 Product: Ant Version: 1.10.14 Hardware: PC Status: NEW Severity: blocker Priority: P2 Component: Core Assignee: notifications@ant.apache.org Reporter: isi...@ptc.com Target Milestone: --- Created attachment 39036 --> https://bz.apache.org/bugzilla/attachment.cgi?id=39036&action=edit run this java class with any java 17 and below with latest ant 1.10.14 on windows you will get the output 255 instead of 0 We cannot execute java processes on windows with latest ant version 1.10.14, we found the changes in ant.bat related to security manager if we replace them with the ant.bat of older version then its working fine. run this java class with any java 17 and below with latest ant 1.10.14 on windows you will get the exit code 255 instead of 0. Enclosed a zip file which have a java class and its related ant xml, please test on your side. -- You are receiving this mail because: You are the assignee for the bug.