Deprecated
for removal since 20.
Thread originally specified a "stop" method to stop a
victim thread by causing the victim thread to throw a ThreadDeath. It
was inherently unsafe and deprecated in an early JDK release. The stop
method has since been removed and ThreadDeath is deprecated, for removal.
ThreadDeath was originally specified to be thrown
by a victim thread when "stopped" with the Thread API.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| ThreadDeath | back to summary |
|---|---|
| public ThreadDeath() Constructs a | |