8214105: [TESTBUG] Bit test is always false in serviceability/jvmti/StartPhase/AllowedFunctions

Reviewed-by: dcubed, dholmes, jcbeyler, gadams, sspitsyn
This commit is contained in:
Simon Tooke 2018-11-22 10:11:58 +01:00 committed by Severin Gehwolf
parent 1379397c32
commit fe3811d46a

View File

@ -110,8 +110,8 @@ static void print_class_status(jvmtiEnv *jvmti, jclass klass) {
// This function is only used in a ClassPrepare event context
if ((status & JVMTI_CLASS_STATUS_VERIFIED) == 0 ||
(status & JVMTI_CLASS_STATUS_PREPARED) == 0 ||
(status & JVMTI_CLASS_STATUS_INITIALIZED) == 1 ||
(status & JVMTI_CLASS_STATUS_ERROR) == 1) {
(status & JVMTI_CLASS_STATUS_INITIALIZED) != 0 ||
(status & JVMTI_CLASS_STATUS_ERROR) != 0) {
printf(" ## Error: unexpected class status: 0x%08x\n", status);
}
printf(" Class status: 0x%08x\n", status);