mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8320786: Remove ThreadGroup.stop
Reviewed-by: rriggs, dholmes, jpai
This commit is contained in:
parent
af5c49226c
commit
86623aa41d
2 changed files with 0 additions and 17 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue