Bug#1006647: libeclipse-jdt-core-java 4.21 breaks Java 8 compatibility for Tomcat

Markus Koschany apo at debian.org
Wed Mar 2 12:15:38 GMT 2022


Hello Per,

Am Mittwoch, dem 02.03.2022 um 12:54 +0200 schrieb Per Lundberg:
> reassign 1006647 tomcat9
> thanks
> 
> This might better belong to this package, since the problem is that 
> tomcat9-common depends on default-jre-headless | java8-runtime-headless 
> > java8-runtime, while in reality it requires Java 11. (because of 
> Eclipse JDT 4.21, see original bug report for details)
> 
> If we are unable to fully resolve this, I think that we should at least 
> fix these incorrect dependencies to make the package depend on 
> "default-jre-headless | java11-runtime-headless | java11-runtime" 
> instead. But as previously mentioned, I would much rather see us move to 
> Eclipse JDT 4.20 instead so we can retain Java 8 support until Debian at 
> some point upgrades to Tomcat 10.1 (at which point requiring Java 11 is 
> inevitable).

As a matter of fact OpenJDK 11 is the only supported Java version in oldstable,
stable and testing right now. We plan to release with Java 17 next year and one
of our goals is to ship only Tomcat 10 in Debian 12 "Bookworm". I think you are
right that we should tighten the dependency to java11-runtime-headless to avoid
any confusion but as I said, OpenJDK 11 is the only supported JDK/JRE at the
moment. If you cannot upgrade your application to Java 11, then you could
create a custom Tomcat 9 package or simply downgrade libeclipse-jdt-core-java
to 4.20 again. 

Regards,

Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20220302/de92d6a6/attachment.sig>


More information about the pkg-java-maintainers mailing list