ffang commented on code in PR #3299:
URL: https://github.com/apache/cxf/pull/3299#discussion_r3559462390


##########
rt/transports/http/src/main/java/org/apache/cxf/transport/https/SSLUtils.java:
##########
@@ -531,4 +532,43 @@ public javax.security.cert.X509Certificate[] 
getPeerCertificateChain() throws SS
         }
     };
 
+    /**
+     * Applies the given named groups to {@code SSLParameters} via reflection.
+     * {@code SSLParameters.setNamedGroups()} requires JDK 20+; this method
+     * silently skips the call on older JDKs.
+     */
+    public static void applyNamedGroups(SSLParameters params, List<String> 
namedGroups) {

Review Comment:
   Thanks @reta !
   
   IMO it's too much to maintain multi-release jars for it.  Probably I think 
it's time to consider bump the minimum JDK version to JDK21 for CXF 4.3.
   
   Best Regards
   Freeman
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to