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

[email protected]
Newsgroups gmane.comp.jakarta.tomcat.devel
Message-ID <178660613818.238721.11407130303339207801@gitbox3-he-fi.apache.org>
This is an automated email from the ASF dual-hosted git repository.

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


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

commit 13449dc0522ae34c999a2db6aa263c4e19b30120
Author: Rainer Jung <[email protected]>
AuthorDate: Thu Aug 13 09:28:47 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.