This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new c70f6843f4 Skip FFM tests if running on Java 21 or earlier
c70f6843f4 is described below

commit c70f6843f4b52f2a6f584bfb1526ebba2ddf1dc5
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Sep 25 10:39:15 2026 +0100

    Skip FFM tests if running on Java 21 or earlier
---
 test/org/apache/catalina/tribes/group/TestGroupChannelTlsFFM.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/org/apache/catalina/tribes/group/TestGroupChannelTlsFFM.java 
b/test/org/apache/catalina/tribes/group/TestGroupChannelTlsFFM.java
index 2ca4e0d73d..58f345f69a 100644
--- a/test/org/apache/catalina/tribes/group/TestGroupChannelTlsFFM.java
+++ b/test/org/apache/catalina/tribes/group/TestGroupChannelTlsFFM.java
@@ -23,6 +23,7 @@ import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
 
 import org.apache.tomcat.util.ExceptionUtils;
+import org.apache.tomcat.util.compat.JreCompat;
 import org.apache.tomcat.util.net.openssl.OpenSSLStatus;
 import org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary;
 
@@ -31,6 +32,7 @@ public class TestGroupChannelTlsFFM extends 
GroupChannelTlsTestBase {
 
     @Before
     public void setup() {
+        Assume.assumeTrue("FFM requires Java 22+", 
JreCompat.isJre22Available());
         if (explicit) {
             // Models starting cluster when OpenSSLLifecycleListener has 
configured FFM support.
             OpenSSLLibrary.init();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to