The ToolProvider() constructor has been removed

The javax.tools.ToolProvider() constructor has been removed in Java SE 16. Remove the usage of this constructor in your application. The constructor is unnecessary because the class only contains static methods.

This rule has an automated fix to call the methods in the ToolProvider class statically. Copy the custom configuration to your application build file to enable it.

For more information on these changes, see APIs Removed in Java SE 16.