Use com.sun.xml.bind.* instead of com.sun.xml.internal.bind.*

MSAL

Do not use APIs from com.sun.xml.internal.bind.* packages.

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

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.xml.internal.bind to com.sun.xml.bind