Do not use the removed Runtime.traceInstructions(boolean) and Runtime.traceMethodCalls(boolean) methods

The 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. Both functions can be replaced by JVM-specific tracing mechanisms, see JVM Tool Interface

The rule has an automated fix that removes the invocation of Runtime.traceInstructions(boolean) and Runtime.traceMethodCalls methods. Copy the custom configuration to your application build file to enable the fix automation.

For more information on the removed methods, see APIs Removed in Java SE 13.