8283224: Remove THREAD_NOT_ALIVE from possible JDWP error codes
Reviewed-by: alanb, sspitsyn
This commit is contained in:
parent
76df73b390
commit
aff9a696cb
src
@ -3164,7 +3164,7 @@ JDWP "Java(tm) Debug Wire Protocol"
|
||||
(Constant THREAD_NOT_SUSPENDED =13 "If the specified thread has not been "
|
||||
"suspended by an event.")
|
||||
(Constant THREAD_SUSPENDED =14 "Thread already suspended.")
|
||||
(Constant THREAD_NOT_ALIVE =15 "Thread has not been started or has terminated.")
|
||||
(Constant THREAD_NOT_ALIVE =15 "Not used.")
|
||||
(Constant INVALID_OBJECT =20 "If this reference type has been unloaded "
|
||||
"and garbage collected.")
|
||||
(Constant INVALID_CLASS =21 "Invalid class.")
|
||||
|
@ -595,9 +595,6 @@ public class ThreadReferenceImpl extends ObjectReferenceImpl
|
||||
case JDWP.Error.THREAD_NOT_SUSPENDED:
|
||||
throw new IncompatibleThreadStateException(
|
||||
"Thread not suspended");
|
||||
case JDWP.Error.THREAD_NOT_ALIVE:
|
||||
throw new IncompatibleThreadStateException(
|
||||
"Thread has not started or has finished");
|
||||
case JDWP.Error.NO_MORE_FRAMES:
|
||||
throw new InvalidStackFrameException(
|
||||
"No more frames on the stack");
|
||||
|
Loading…
x
Reference in New Issue
Block a user