Re: java.lang.UnsupportedOperationException raised when invoking the task

2023-10-23 Thread Jaikiran Pai
Happy to hear that Ant 1.10.14 gets the build passing on Java 21. -Jaikiran On 22/10/23 2:39 am, Rick Hillegas wrote: Thanks, Jaikiran and Don. Ant 1.10.14 gets me over this hurdle. I'll let you know if I encounter other issues building the next Derby release with Java 21 and this version of A

Re: java.lang.UnsupportedOperationException raised when invoking the task

2023-10-21 Thread Rick Hillegas
Thanks, Jaikiran and Don. Ant 1.10.14 gets me over this hurdle. I'll let you know if I encounter other issues building the next Derby release with Java 21 and this version of Ant. Cheers On 10/21/23 7:32 AM, Brutzman, Donald (Don) (CIV) wrote: As Indicated in the email thread, have gotten java

Re: java.lang.UnsupportedOperationException raised when invoking the task

2023-10-21 Thread Jaikiran Pai
Hello Rick, Ant 1.10.6 cannot be used with Java 21 because of this very SecurityManager usage within Ant. Considering this issue and Java SecurityManager's deprecation for removal, we have released Ant 1.10.14 a couple of months back https://lists.apache.org/thread/9vhk51nkw9wjxzm7xk2q9xm6s80

java.lang.UnsupportedOperationException raised when invoking the task

2023-10-20 Thread Rick Hillegas
I am running Java 21 (OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing)) and Ant 1.10.6. The following stanza in my build.xml file raises a java.lang.UnsupportedOperationException:                     The maintversion2props class is very simple, it just writes a