Dear Ivy developers,

(Apologies for not filing a JIRA issue yet - I just applied for an
account, and will file as soon as it's approved)

I'm a Fedora package maintainer, and as part of a long dependency chain
trying to get the Golang packages bootstrapped for the Extra Packages
for Enterprise Linux 10 repository, I need to get apache-ivy built

(This is the issue where the Golang and Java ecosystem meets -
golang-github-google-cel needs antlr4 to build:
https://bugzilla.redhat.com/show_bug.cgi?id=2324448)

Problem is, I discovered when I get to Apache Ivy that

- JDK 11 has just been retired in Rawhide (which will become Fedora 42
  next spring) - 
https://src.fedoraproject.org/rpms/java-11-openjdk/c/eef5cae1618adf22b43adb9e243580e26aaab57c?branch=rawhide
- The only JDK in Fedora 42 and RHEL 10 is JDK 21
- Ivy does not compile with JDK 21 right now due to the removal of the
  deprecated Pack200, per https://openjdk.org/jeps/336

```
    [javac] 
/builddir/build/BUILD/apache-ivy-2.5.2-build/apache-ivy-2.5.2/src/java/org/apache/ivy/util/FileUtil.java:49:
 er
ror: cannot find symbol                                                         
                                           
    [javac] import static java.util.jar.Pack200.newUnpacker;                    
                                           
    [javac]                            ^                                        
                                           
    [javac]   symbol:   class Pack200            
    [javac]   location: package java.util.jar
```

Is there a plan to replace Pack200 with something else?

Best regards,

-- 
 _o) Michel Lind
_( ) identities: https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2

Attachment: signature.asc
Description: PGP signature

Reply via email to