Use com.ibm.net.ssl.www2.protocol instead of com.sun.net.ssl.internal.www.protocol

MSAL

Do not use the com.sun.net.ssl.internal.www.protocol package.

org.openrewrite.java.migrate.JREDoNotUseSunNetSslInternalWwwProtocol
mod run . --recipe=org.openrewrite.java.migrate.JREDoNotUseSunNetSslInternalWwwProtocol

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Replace String literal