diff -Nru tomcat9-9.0.43/debian/changelog tomcat9-9.0.43/debian/changelog --- tomcat9-9.0.43/debian/changelog 2022-10-29 20:33:57.000000000 +0530 +++ tomcat9-9.0.43/debian/changelog 2022-01-06 03:30:21.000000000 +0530 @@ -1,3 +1,10 @@ +tomcat9 (9.0.43-2~deb11u5) bullseye; urgency=medium + + * Team upload. + * Look for OpenJDK 17 when starting the server. (Closes: #1020948) + + -- Utkarsh Gupta Fri, 06 Jan 2022 03:30:21 +0530 + tomcat9 (9.0.43-2~deb11u4) bullseye-security; urgency=high * Team upload. diff -Nru tomcat9-9.0.43/debian/libexec/tomcat-locate-java.sh tomcat9-9.0.43/debian/libexec/tomcat-locate-java.sh --- tomcat9-9.0.43/debian/libexec/tomcat-locate-java.sh 2022-10-29 20:33:57.000000000 +0530 +++ tomcat9-9.0.43/debian/libexec/tomcat-locate-java.sh 2022-01-06 03:30:21.000000000 +0530 @@ -13,7 +13,7 @@ # 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-* \