The getThreadID and setThreadID methods within java.util.logging.LogRecord were deprecated in Java SE 16
and replaced with getLongThreadID and setLongThreadID respectively. In the binary scanner, the automated fix replace
references to the getThreadID and setThreadID methods with getLongThreadID and setLongThreadID
respectively. Remove the usage of these methods in your application as they are deprecated and will be removed in a future release.
This rule has an automated fix. Copy the custom configuration to your application build file to enable the fix automation.
For more information on the deprecation of these methods, see Upgrade LogRecord to support long thread ids and remove its usage of ThreadLocal.