Change javax.tools.ToolProvider methods calls to static
MSALThe javax.tools.ToolProvider() constructor has been removed in Java SE 16 since the class only contains static methods. The recipe converts javax.tools.ToolProvider getSystemJavaCompiler(), javax.tools.ToolProvider getSystemDocumentationTool() and javax.tools.ToolProvider getSystemToolClassLoader() to static methods.
org. openrewrite. java. migrate. RemovedToolProviderConstructormod run . --recipe= org. openrewrite. java. migrate. RemovedToolProviderConstructorInstall 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.