Do not use the com.sun.net.ssl.internal.www.protocol.https.Handler class

This rule flags the use of com.sun.net.ssl.internal.www.protocol.https.Handler class. This class should not be used. Instead use com.ibm.net.ssl.www2.protocol.https.Handler.

The automated fix will change references to com.sun.net.ssl.internal.www.protocol.https.Handler into com.ibm.net.ssl.www2.protocol.https.Handler . Copy the custom configuration to your application build file to enable the fix automation.

For example, code fragments such as

import com.sun.net.ssl.internal.www.protocol.https.Handler;
    
if (myHandler instanceof com.sun.net.ssl.internal.www.protocol.https.Handler)

are changed to

import com.ibm.net.ssl.www2.protocol.https.Handler;
    
if (myHandler instanceof com.ibm.net.ssl.www2.protocol.https.Handler)

For additional information related to this rule, see: