(tomcat) branch 9.0.x updated: Add our usual JVM version dependency for new test using derby

[email protected]
Newsgroups gmane.comp.jakarta.tomcat.devel
Message-ID <[email protected]>
This is an automated email from the ASF dual-hosted git repository.

rainerjung pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 9408cf2c0b Add our usual JVM version dependency for new test using derby
9408cf2c0b is described below

commit 9408cf2c0b1bcaeb5e12ab1f94a5580612d96f80
Author: Rainer Jung <[email protected]>
AuthorDate: Thu Aug 13 09:29:14 2026 +0200

    Add our usual JVM version dependency for new test using derby
---
 test/org/apache/catalina/users/TestDataSourceUserDatabase.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/org/apache/catalina/users/TestDataSourceUserDatabase.java b/test/org/apache/catalina/users/TestDataSourceUserDatabase.java
index 8a50e87557..3d06ee02f4 100644
--- a/test/org/apache/catalina/users/TestDataSourceUserDatabase.java
+++ b/test/org/apache/catalina/users/TestDataSourceUserDatabase.java
@@ -120,6 +120,8 @@ public class TestDataSourceUserDatabase extends LoggingBaseTest {
     @Test
     public void testMinimalUserRoleDatabase()
         throws Exception {
+        Assume.assumeTrue(JreCompat.isJre16Available());
+
         // Test functionality with the DataSourceRealm schema
 
         db = new DerbyUserDatabase("minimal");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.