Source: tomcat9
Version: 9.0.107-0+deb11u1
Severity: important
Tags: patch
X-Debbugs-Cc: [email protected]

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

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to