The ability to "stop" a thread with the Thread.stop() method has been removed in this release. The method has been changed to throw UnsupportedOperationException.
Even if it has been deprecated for a long time, it was still used a lot (8,000 result in github for "thread.stop();")
Thanks. I didn't have the new code search feature available which is why I wasn't getting clean results. I noticed that in some cases the stop method call isn't on a "real" thread object but instead on something named thread. Narrowing things down further requires something more sophisticated.
10
u/agoubard Mar 21 '23
From the release notes, I noted this one:
Even if it has been deprecated for a long time, it was still used a lot (8,000 result in github for "thread.stop();")