Migrate to Java 8

MSAL

This recipe will apply changes commonly needed when upgrading to Java 8. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy.

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

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. Migrate Bouncy Castle to jdk18on
  2. Migrate to Java 7
  3. Upgrade Java version 8
  4. Make MBean and MXBean interfaces public