Bug#1114028: Regression of #1020948 introduced in bullseye-security (looking up for OpenJDK 17)
Santiago Ruano Rincón
santiagorr at riseup.net
Fri Sep 5 14:54:09 BST 2025
Source: tomcat9
Version: 9.0.107-0+deb11u1
Severity: important
Tags: patch
X-Debbugs-Cc: debian-lts at lts.debian.org
Hello Markus,
tomcat9 9.0.107-0+deb11u1 removed the changed made by 9.0.43-2_deb11u5
in debian/libexec/tomcat-locate-java.sh that looks up for OpenJDK 17.
The same change (included below) obviously solves the regression.
I wonder if #1110075 relates to this change.
diff --git a/debian/libexec/tomcat-locate-java.sh b/debian/libexec/tomcat-locate-java.sh
index d5c0c9b5..2a06a864 100644
--- a/debian/libexec/tomcat-locate-java.sh
+++ b/debian/libexec/tomcat-locate-java.sh
@@ -13,7 +13,7 @@ if [ -z "$JAVA_HOME" ]; then
# This function sets the variable JDK_DIRS
find_jdks()
{
- for java_version in 11 10 9 8
+ for java_version in 17 11 10 9 8
do
for jvmdir in /usr/lib/jvm/java-${java_version}-openjdk-* \
/usr/lib/jvm/jdk-${java_version}-oracle-* \
Cheers,
-- Santiago
More information about the pkg-java-maintainers
mailing list