8143921: nsk/jdi/ObjectReference/waitingThreads/waitingthreads003 fails with JVMTI_ERROR_INVALID_CLASS
Skip invalid classes Reviewed-by: sspitsyn
This commit is contained in:
parent
7ebfc8c78c
commit
ebbecb1b63
@ -141,6 +141,12 @@ classesForSignature(PacketInputStream *in, PacketOutputStream *out)
|
||||
|
||||
error = classSignature(clazz, &candidate_signature, NULL);
|
||||
if (error != JVMTI_ERROR_NONE) {
|
||||
// Clazz become invalid since the time we get the class list
|
||||
// Skip this entry
|
||||
if (error == JVMTI_ERROR_INVALID_CLASS) {
|
||||
continue;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user