Remove Thread.destroy() and Thread.stop(Throwable)
MSALThe java.lang.Thread.destroy() method was never implemented, and the java.lang.Thread.stop(java.lang.Throwable) method has been unusable since Java SE 8. This recipe removes any usage of these methods from your application.
org. openrewrite. java. migrate. ThreadStopDestroymod run . --recipe= org. openrewrite. java. migrate. ThreadStopDestroyInstall 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.