--- old/test/hotspot/jtreg/serviceability/jvmti/StartPhase/AllowedFunctions/libAllowedFunctions.c 2018-11-20 11:50:27.291769217 +0100 +++ new/test/hotspot/jtreg/serviceability/jvmti/StartPhase/AllowedFunctions/libAllowedFunctions.c 2018-11-20 11:50:27.144769510 +0100 @@ -110,8 +110,8 @@ // 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);