The implementation for both functions should be changed from:
if (reqCnt <= 0) {
JVMDI_RETURN(JVMDI_ERROR_ILLEGAL_ARGUMENT);
}
to:
if (reqCnt < 0) {
JVMDI_RETURN(JVMDI_ERROR_ILLEGAL_ARGUMENT);
}
- relates to
-
JDK-4800419 JVMPI Suspend/ResumeThreadList should accept zero length lists
- Closed