Use javax.net.ssl instead of com.sun.net.ssl

MSAL

Do not use APIs from com.sun.net.ssl packages.

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

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. Rename package name com.sun.net.ssl to javax.net.ssl