Hi Christopher, Based on https://bz.apache.org/bugzilla/show_bug.cgi?id=65599, the aforementioned failing tests are expected when runned under Java 17 with the stock ECJ library.
Kind regards, Dimitris On Mon, Nov 13, 2023 at 5:04 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > All, > > On 11/10/23 15:04, Christopher Schultz wrote: > > The proposed Apache Tomcat 8.5.96 release is now available for voting. > > > > The notable changes compared to 8.5.95 are: > > > > - Fix reloading TLS configuration could cause the Connector to > > refuse new connections or the JVM to crash. > > > > - Ensure that an IOException during the reading of the request > > always triggers error handling, regardless of whether the > > application swallows the exception. > > > > - The status manager servlet can now output statistics as json. > > > > Along with lots of other bug fixes and improvements. > > > > For full details, see the changelog: > > https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html > > > > It can be obtained from: > > https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.96/ > > > > The Maven staging repo is: > > https://repository.apache.org/content/repositories/orgapachetomcat-1466 > > > > The tag is: > > https://github.com/apache/tomcat/tree/8.5.96/ > > e9630c1fad9a72e7394872a2aeeb73627f821b6c > > > > The proposed 8.5.96 release is: > > [ ] Broken - do not release > > [ ] Stable - go ahead and release as 8.5.96 (stable) > > +1 for stable release > > Works with a standard servlet-based web application in a development > environment. > > Some unit-tests originally failed when running under Java 17; I think > that's due to the outdated Eclipse Java Compiler library. I havbe two > sets of tests shown below. The first is with the stock ECJ library and > the second is with an upgraded version 4.29 compiler. > > * Environment > * Java (build): openjdk version "17.0.9" 2023-10-17 OpenJDK Runtime > Environment (build 17.0.9+9-Debian-1deb12u1) OpenJDK 64-Bit Server VM > (build 17.0.9+9-Debian-1deb12u1, mixed mode, sharing) > * Java (test): openjdk version "17.0.9" 2023-10-17 OpenJDK Runtime > Environment (build 17.0.9+9-Debian-1deb12u1) OpenJDK 64-Bit Server VM > (build 17.0.9+9-Debian-1deb12u1, mixed mode, sharing) > * OS: Linux 6.1.0-12-amd64 x86_64 > * cc: cc (Debian 12.2.0-14) 12.2.0 > * make: GNU Make 4.3 > * OpenSSL: OpenSSL 1.1.1 11 Sep 2018 > * APR: 1.7.2 > * > * Valid SHA-512 signature for apache-tomcat-8.5.96.zip > * Valid GPG signature for apache-tomcat-8.5.96.zip > * Valid SHA-512 signature for apache-tomcat-8.5.96.tar.gz > * Valid GPG signature for apache-tomcat-8.5.96.tar.gz > * Valid SHA-512 signature for apache-tomcat-8.5.96.exe > * Valid GPG signature for apache-tomcat-8.5.96.exe > * Valid Windows Digital Signature for apache-tomcat-8.5.96.exe > * Valid SHA512 signature for apache-tomcat-8.5.96-src.zip > * Valid GPG signature for apache-tomcat-8.5.96-src.zip > * Valid SHA512 signature for apache-tomcat-8.5.96-src.tar.gz > * Valid GPG signature for apache-tomcat-8.5.96-src.tar.gz > * > * Binary Zip and tarball: Same > * Source Zip and tarball: Same > * > * Building dependencies returned: 0 > * tcnative builds cleanly > * Tomcat builds cleanly > * Junit Tests: FAILED > * > * Tests that failed: > * org.apache.catalina.mapper.TestMapperWebapps.APR.txt > * org.apache.catalina.mapper.TestMapperWebapps.NIO.txt > * org.apache.catalina.mapper.TestMapperWebapps.NIO2.txt > > --- Switching to the 4.29 Compiler; re-running the unit tests sees these > 3 tests pass properly. > > -chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >