On Thu, Oct 17, 2024 at 2:27 AM Xavier, Joseph <jxav...@informatica.com.invalid> wrote:
> Hi, > > I wanted to understand whether Tomcat 9.0.90 and above minor versions are > supported with JDK 8? We have see compile issues when our JDK 8 environment > tried to work with Tomcat 9.0.90. > If the supportability is deprecated, is there any doc or public > announcement stating the same? > > > > Thank you > Joseph X. > You don't say what issues you are having with JDK 8, but FWIW, we stumbled upon this memory leak issue two years ago with OpenJDK 8: "Native memory leak in java.util.zip caused by mis-using the API" ( https://bugs.openjdk.org/browse/JDK-8257032) The problem did **NOT** appear in Tomcat, but in a long-running Java app that processed images. RedHat advised "Upgrade to JDK11+, where the finalize method is deprecated and implemented as a no-op, and memory is released when the object becomes unreachable." ( https://access.redhat.com/solutions/6724981, subscription required) We did and it solved our problem. Since then we've also used OpenJDK 11 with Tomcat 9.0.*. -- "Hell hath no limits, nor is circumscrib'd In one self-place; but where we are is hell, And where hell is, there must we ever be" --Christopher Marlowe, *Doctor Faustus* (v. 111-13)