Remove Runtime.traceInstructions(boolean) and Runtime.traceMethodCalls methods
MSALThe traceInstructions and traceMethodCalls methods in java.lang.Runtime were deprecated in Java SE 9 and are no longer available in Java SE 13 and later. The recipe removes the invocations of these methods since the method invocations do nothing functionally.
org. openrewrite. java. migrate. RemovedRuntimeTraceMethodsmod run . --recipe= org. openrewrite. java. migrate. RemovedRuntimeTraceMethodsInstall 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.