https://bz.apache.org/bugzilla/show_bug.cgi?id=67417

--- Comment #10 from Stefan Bodewig <bode...@apache.org> ---
OK, this definitively is a different issue that what you initially reported. It
looks as if Ant was creating JARs (which technically are ZIP archives) that
cause errors when opened in Java 17 (or later?). 

This may be correct or the validation may simply be wrong.
https://www.oracle.com/java/technologies/javase/17all-relnotes.html#JDK-8302483
contains a workaround, you can set a system property to disable the validation.

We'd probably need a jar that has been created by Ant and fails the validation
to see who is right. If you happen to have access to Java 20 (or 21
prereleases) it may be interesting to see whether it still fails. There have
been changes in 20 again, but the referenced issues inside the release notes
are not public.

What you report looks like https://bugs.openjdk.org/browse/JDK-8313765 but this
one should happen for jars created with Ant prior to 1.10.14 rather than with
this version. If so, according to https://bugs.openjdk.org/browse/JDK-8314557
this should be resolved with JDK 17.0.10 to be released sometime early next
year but there also is a comment the fix had been backported to 17.0.8.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to