java.lang.Thread.stop(java.lang.Throwable) is disabled

This rule flags java.lang.Thread.stop(java.lang.Throwable) method invocations. In Java 8, this previously deprecated method is disabled. When you invoke this method, it now throws an UnsupportedOperationException.

Instead of using the stop method, you can control thread stopping by using a variable. For more information, see Java Thread Primitive Deprecation.

For additional information about the java.lang.Thread class, see the Class java.lang.Thread Java documentation.