This rule flags the use of the ThreadGroup.setDaemon, ThreadGroup.isDaemon, ThreadGroup.destroy and ThreadGroup.isDestroyed methods.
These methods have been marked as deprecated for removal, and their behavior has been updated to the following:
destroy method does nothing.isDestroyed method returns false.setDaemon and isDaemon methods set/get a daemon status that is not used for anything.For more information see JDK-8286768. JEP-425.