8320786: Remove ThreadGroup.stop

Reviewed-by: rriggs, dholmes, jpai
This commit is contained in:
Alan Bateman 2023-12-08 08:04:38 +00:00
parent af5c49226c
commit 86623aa41d
2 changed files with 0 additions and 17 deletions

View file

@ -554,17 +554,6 @@ public class ThreadGroup implements Thread.UncaughtExceptionHandler {
return i;
}
/**
* Throws {@code UnsupportedOperationException}.
*
* @deprecated This method was originally specified to stop all threads in
* the thread group. It was inherently unsafe.
*/
@Deprecated(since="1.2", forRemoval=true)
public final void stop() {
throw new UnsupportedOperationException();
}
/**
* Interrupts all {@linkplain Thread#isAlive() live} platform threads in
* this thread group and its subgroups.