https://bz.apache.org/bugzilla/show_bug.cgi?id=65381
--- Comment #3 from Stefan Huehner <ste...@huehner.org> --- Attached a quick reproducer to show the behavior. Usage: point JAVA_HOME to jdk17ea26 build (or higher) ant -f demo.xml bad Show the unexpected warning inside the ${output} property. ant -f demo.xml good Does show the expected output. Only change in 'good' target is using fork=yes to avoid triggering the unexpected behavior. -- You are receiving this mail because: You are the assignee for the bug.