On Tue, Nov 10, 2026 at 9:53 AM Mark Thomas via dev <[email protected]> wrote: > > The tests all pass on newer Java versions so these are almost certainly > new tests that need Java version checks becuase they tests features only > available with newer Java versions. > > I'll start checking them now.
I can fix them too if you don't have time. Rémy > Mark > > On 09/11/2026 23:27, Rainer Jung wrote: > > More added at the end of this mail. > > > > Am 10.11.26 um 00:14 schrieb Rainer Jung: > >> Quick response: some test failures with Java 8 (higher versions not > >> yet tested). Hopefully just bugs in patches not in the non-test code. > >> Problems not observed for TC 11 with Java 17. > >> > >> org.apache.catalina.realm.TestDataSourceRealm > >> > >> Derby JVM version incompatibility: > >> > >> Testcase: testRealmWithoutRoleStore took 0.491 sec > >> Caused an ERROR > >> org/apache/derby/jdbc/EmbeddedDriver has been compiled by a more > >> recent version of the Java Runtime (class file version 61.0), this > >> version of the Java Runtime only recognizes class file versions up to > >> 52.0 > >> java.lang.UnsupportedClassVersionError: org/apache/derby/jdbc/ > >> EmbeddedDriver has been compiled by a more recent version of the Java > >> Runtime (class file version 61.0), this version of the Java Runtime > >> only recognizes class file versions up to 52.0 > >> at java.lang.ClassLoader.defineClass1(Native Method) > >> at java.lang.ClassLoader.defineClass(ClassLoader.java:756) > >> at > >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > >> at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) > >> at java.net.URLClassLoader.access$100(URLClassLoader.java:74) > >> at java.net.URLClassLoader$1.run(URLClassLoader.java:369) > >> at java.net.URLClassLoader$1.run(URLClassLoader.java:363) > >> at java.security.AccessController.doPrivileged(Native Method) > >> at java.net.URLClassLoader.findClass(URLClassLoader.java:362) > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:418) > >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:351) > >> at java.lang.Class.forName0(Native Method) > >> at java.lang.Class.forName(Class.java:264) > >> at > >> org.apache.catalina.realm.TestDataSourceRealm$DerbyDataSourceRealm.open(TestDataSourceRealm.java:61) > >> at > >> org.apache.catalina.realm.TestDataSourceRealm.testRealmWithoutRoleStore(TestDataSourceRealm.java:175) > >> > >> > >> org.apache.catalina.webresources.TestJarContents > >> > >> Testcase: testMalformedEntryNames took 0.139 sec > >> FAILED > >> null > >> junit.framework.AssertionFailedError > >> at > >> org.apache.catalina.webresources.TestJarContents.testMalformedEntryNames(TestJarContents.java:160) > >> > >> > >> org.apache.catalina.webresources.TestJarWarResourceSet > >> > >> Testcase: testMultiReleaseWithInvalidVersionDirectories took 0.053 sec > >> FAILED > >> null > >> junit.framework.AssertionFailedError > >> at > >> org.apache.catalina.webresources.TestJarWarResourceSet.testMultiReleaseWithInvalidVersionDirectories(TestJarWarResourceSet.java:117) > >> > >> Testcase: testMultiReleaseVersionDirectoryEntry took 0.014 sec > >> FAILED > >> null > >> junit.framework.AssertionFailedError > >> at > >> org.apache.catalina.webresources.TestJarWarResourceSet.testMultiReleaseVersionDirectoryEntry(TestJarWarResourceSet.java:216) > >> > >> Testcase: testMultiReleaseVersionDirectoryRules took 0.021 sec > >> FAILED > >> null > >> junit.framework.AssertionFailedError > >> at > >> org.apache.catalina.webresources.TestJarWarResourceSet.testMultiReleaseVersionDirectoryRules(TestJarWarResourceSet.java:174) > > org.apache.jasper.compiler.TestJavaCompiler > > > > Testcase: testCompilationErrorsDispatchedBeforeGeneratedSourceRemoved > > took 3.539 sec > > Caused an ERROR > > invalid source release: 17 > > java.lang.IllegalArgumentException: invalid source release: 17 > > at > > com.sun.tools.javac.main.OptionHelper$GrumpyHelper.error(OptionHelper.java:103) > > at com.sun.tools.javac.main.Option$11.process(Option.java:204) > > at > > com.sun.tools.javac.api.JavacTool.processOptions(JavacTool.java:217) > > at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:156) > > at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:107) > > at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:64) > > at > > org.apache.jasper.compiler.JavaCompiler.generateClass(JavaCompiler.java:76) > > at > > org.apache.jasper.compiler.TestJavaCompiler.testCompilationErrorsDispatchedBeforeGeneratedSourceRemoved(TestJavaCompiler.java:101) > > > > > > org.apache.jasper.tagplugins.jstl.core.TestForEach > > > > Testcase: testCollectionBeginAfterEnd took 1.905 sec > > FAILED > > expected:<200> but was:<500> > > junit.framework.AssertionFailedError: expected:<200> but was:<500> > > at > > org.apache.jasper.tagplugins.jstl.core.TestForEach.testCollectionBeginAfterEnd(TestForEach.java:83) > > > > > > org.apache.tomcat.util.scan.TestAbstractInputStreamJar > > > > Testcase: testMultiReleaseVersionedResourceWithoutBaseEntry took 0.011 sec > > FAILED > > expected:<META-INF/versions/9/test/resource.txt> but was:<null> > > junit.framework.AssertionFailedError: expected:<META-INF/versions/9/ > > test/resource.txt> but was:<null> > > at > > org.apache.tomcat.util.scan.TestAbstractInputStreamJar.testMultiReleaseVersionedResourceWithoutBaseEntry(TestAbstractInputStreamJar.java:277) > > > > Testcase: testMultiReleaseVersionedResourceIsUsed took 0.011 sec > > FAILED > > expected:<[META-INF/versions/11/]test/resource.txt> but was:<[]test/ > > resource.txt> > > junit.framework.AssertionFailedError: expected:<[META-INF/ > > versions/11/]test/resource.txt> but was:<[]test/resource.txt> > > at > > org.apache.tomcat.util.scan.TestAbstractInputStreamJar.testMultiReleaseVersionedResourceIsUsed(TestAbstractInputStreamJar.java:261) > > > > Testcase: testMultiReleaseEntryDirectlyBelowVersionsDirectory took 0.006 > > sec > > FAILED > > expected:<[META-INF/versions/9/]test/Foo.class> but was:<[]test/Foo.class> > > junit.framework.AssertionFailedError: expected:<[META-INF/ > > versions/9/]test/Foo.class> but was:<[]test/Foo.class> > > at > > org.apache.tomcat.util.scan.TestAbstractInputStreamJar.testMultiReleaseEntryDirectlyBelowVersionsDirectory(TestAbstractInputStreamJar.java:178) > > > > Testcase: testMultiReleaseUnselectedLeadingSlashEntryIsHidden took 0.007 > > sec > > FAILED > > expected:<[META-INF/versions/11/]test/Foo.class> but was:<[]test/Foo.class> > > junit.framework.AssertionFailedError: expected:<[META-INF/ > > versions/11/]test/Foo.class> but was:<[]test/Foo.class> > > at > > org.apache.tomcat.util.scan.TestAbstractInputStreamJar.testMultiReleaseUnselectedLeadingSlashEntryIsHidden(TestAbstractInputStreamJar.java:243) > > > > Testcase: testMultiReleaseLeadingSlash took 0.005 sec > > FAILED > > expected:<[/META-INF/versions/9/]test/Foo.class> but was:<[]test/Foo.class> > > junit.framework.AssertionFailedError: expected:<[/META-INF/ > > versions/9/]test/Foo.class> but was:<[]test/Foo.class> > > at > > org.apache.tomcat.util.scan.TestAbstractInputStreamJar.testMultiReleaseLeadingSlash(TestAbstractInputStreamJar.java:152) > > > > Testcase: testMultiReleaseVersionSelected took 0.006 sec > > FAILED > > expected:<[META-INF/versions/11/]test/Foo.class> but was:<[]test/Foo.class> > > junit.framework.AssertionFailedError: expected:<[META-INF/ > > versions/11/]test/Foo.class> but was:<[]test/Foo.class> > > at > > org.apache.tomcat.util.scan.TestAbstractInputStreamJar.testMultiReleaseVersionSelected(TestAbstractInputStreamJar.java:133) > > > > > > org.apache.tomcat.util.scan.TestJarFileUrlJar > > > > Testcase: testMultiReleaseSelectedEntryContent took 0.334 sec > > FAILED > > expected:<[eleven]> but was:<[base]> > > junit.framework.AssertionFailedError: expected:<[eleven]> but was:<[base]> > > at > > org.apache.tomcat.util.scan.TestJarFileUrlJar.testMultiReleaseSelectedEntryContent(TestJarFileUrlJar.java:178) > > > > Testcase: testMultiReleaseLookupByName took 0.022 sec > > FAILED > > expected:<[META-INF/versions/11/]test/resource.txt> but was:<[]test/ > > resource.txt> > > junit.framework.AssertionFailedError: expected:<[META-INF/ > > versions/11/]test/resource.txt> but was:<[]test/resource.txt> > > at > > org.apache.tomcat.util.scan.TestJarFileUrlJar.doTestMultiReleaseLookupByName(TestJarFileUrlJar.java:369) > > at > > org.apache.tomcat.util.scan.TestJarFileUrlJar.testMultiReleaseLookupByName(TestJarFileUrlJar.java:408) > > > > Testcase: testMultiReleaseLookupByNameViaJarUrl took 0.032 sec > > FAILED > > expected:<[META-INF/versions/11/]test/resource.txt> but was:<[]test/ > > resource.txt> > > junit.framework.AssertionFailedError: expected:<[META-INF/ > > versions/11/]test/resource.txt> but was:<[]test/resource.txt> > > at > > org.apache.tomcat.util.scan.TestJarFileUrlJar.doTestMultiReleaseLookupByName(TestJarFileUrlJar.java:369) > > at > > org.apache.tomcat.util.scan.TestJarFileUrlJar.testMultiReleaseLookupByNameViaJarUrl(TestJarFileUrlJar.java:418) > > > > Testcase: testMultiReleaseVersionSelectionForResources took 0.011 sec > > FAILED > > null > > junit.framework.AssertionFailedError > > at > > org.apache.tomcat.util.scan.TestJarFileUrlJar.testMultiReleaseVersionSelectionForResources(TestJarFileUrlJar.java:291) > > > > Testcase: testMultiReleaseVersionSelectionViaJarUrl took 0.006 sec > > FAILED > > null > > junit.framework.AssertionFailedError > > at > > org.apache.tomcat.util.scan.TestJarFileUrlJar.testMultiReleaseVersionSelectionViaJarUrl(TestJarFileUrlJar.java:221) > > > > Testcase: testMultiReleaseFutureVersion took 0.005 sec > > FAILED > > null > > junit.framework.AssertionFailedError > > at > > org.apache.tomcat.util.scan.TestJarFileUrlJar.testMultiReleaseFutureVersion(TestJarFileUrlJar.java:133) > > > > Testcase: testMultiReleaseResetAndUnusableEntries took 0.009 sec > > FAILED > > null > > junit.framework.AssertionFailedError > > at > > org.apache.tomcat.util.scan.TestJarFileUrlJar.testMultiReleaseResetAndUnusableEntries(TestJarFileUrlJar.java:199) > > > > Testcase: testMultiReleaseEntryDirectlyBelowVersionsDirectory took 0.006 > > sec > > FAILED > > null > > junit.framework.AssertionFailedError > > at > > org.apache.tomcat.util.scan.TestJarFileUrlJar.testMultiReleaseEntryDirectlyBelowVersionsDirectory(TestJarFileUrlJar.java:238) > > > > Testcase: testMultiReleaseLeadingSlash took 0.006 sec > > FAILED > > null > > junit.framework.AssertionFailedError > > at > > org.apache.tomcat.util.scan.TestJarFileUrlJar.testMultiReleaseLeadingSlash(TestJarFileUrlJar.java:272) > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
