Use modernized javax.management.monitor APIs

MSAL

Certain javax.management.monitor APIs have become deprecated and their usages changed, necessitating usage changes.

org.openrewrite.java.migrate.javax.JavaxManagementMonitorAPIs
mod run . --recipe=org.openrewrite.java.migrate.javax.JavaxManagementMonitorAPIs

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. Use javax.management.monitor.CounterMonitor#setInitThreshold