< prev index next >
test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/general_functions/GF08/gf08t002/gf08t002.cpp
Print this page
rev 52050 : [mq]: refactor
*** 68,79 ****
return JNI_ERR;
setVerboseMode = nsk_jvmti_findOptionStringValue("setVerboseMode", NULL);
if (strcmp(setVerboseMode, "y") == 0 || strcmp(setVerboseMode, "yes") == 0) {
! if (!NSK_JVMTI_VERIFY(
! NSK_CPP_STUB3(SetVerboseFlag, jvmti, JVMTI_VERBOSE_CLASS, JNI_TRUE))) {
return JNI_ERR;
} else {
NSK_DISPLAY0("JVMTI_VERBOSE_CLASS mode has been set.\n");
}
}
--- 68,78 ----
return JNI_ERR;
setVerboseMode = nsk_jvmti_findOptionStringValue("setVerboseMode", NULL);
if (strcmp(setVerboseMode, "y") == 0 || strcmp(setVerboseMode, "yes") == 0) {
! if (!NSK_JVMTI_VERIFY(jvmti->SetVerboseFlag(JVMTI_VERBOSE_CLASS, JNI_TRUE))) {
return JNI_ERR;
} else {
NSK_DISPLAY0("JVMTI_VERBOSE_CLASS mode has been set.\n");
}
}
< prev index next >