Replace System.getSecurityManager() with null
MSALThe Security Manager API is unsupported in Java 24. This recipe will replace System.getSecurityManager() with null to make its behavior more obvious and try to simplify execution paths afterwards.
org. openrewrite. java. migrate. SystemGetSecurityManagerToNullmod run . --recipe= org. openrewrite. java. migrate. SystemGetSecurityManagerToNullInstall 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.