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

reta pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/main by this push:
     new a26769014e Fix cxf-systests-jaxrs test cases for JDK-24 (JAXRSJmsTest)
a26769014e is described below

commit a26769014ef63a1a192b8c9d4d651b4a2bf21181
Author: Andriy Redko <[email protected]>
AuthorDate: Sat May 10 22:07:03 2025 -0400

    Fix cxf-systests-jaxrs test cases for JDK-24 (JAXRSJmsTest)
---
 .../src/test/java/org/apache/cxf/systest/jaxrs/jms/JAXRSJmsTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/jms/JAXRSJmsTest.java
 
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/jms/JAXRSJmsTest.java
index e458987ade..e844f46b68 100644
--- 
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/jms/JAXRSJmsTest.java
+++ 
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/jms/JAXRSJmsTest.java
@@ -73,7 +73,7 @@ public class JAXRSJmsTest extends 
AbstractBusClientServerTestBase {
                   System.getProperty("java.util.logging.config.file"));
 
         // See please https://bugs.openjdk.org/browse/JDK-8296244
-        if (Runtime.version().feature() >= 23) {
+        if (Runtime.version().feature() >= 23 && Runtime.version().feature() < 
24) {
             props.put("java.security.manager", "allow");
         }
 

Reply via email to