flagsmith-java-client icon indicating copy to clipboard operation
flagsmith-java-client copied to clipboard

Flagsmith-Java-Client for Jakarta

Open Exnadella opened this issue 1 year ago • 1 comments

Hello Team,

We would like to use the Flagsmith-java-client via Spring Boot 3.3.1, which is based on Java 17 and Jakarta.

Some of the imports in Flagsmith-java-client use Javax. which is not compatible with Jakarta. The program that is affected is FlagsmithConfig.class for two imports.

import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.X509TrustManager;

The Method & Variable are:

    private SSLSocketFactory sslSocketFactory;
    private X509TrustManager trustManager;
    
    public Builder sslSocketFactory(SSLSocketFactory sslSocketFactory, X509TrustManager trustManager) {
      this.sslSocketFactory = sslSocketFactory;
      this.trustManager = trustManager;
      return this;
    }

We'd like to ask you to release a new Flagsmith-Java-Client-Jakarta version for implementation; as an alternative, we can override the methods.

Exnadella avatar Jul 19 '24 11:07 Exnadella