implemented missing CHECK_JVMTI_ERROR