8335370: Fix -Wzero-as-null-pointer-constant warning in jvmti_common.hpp

Reviewed-by: jwaters, amenkov, sspitsyn
This commit is contained in:
Kim Barrett 2024-07-03 02:19:54 +00:00
parent 1ef34c1833
commit f187c92bef

View File

@ -239,7 +239,7 @@ print_method(jvmtiEnv *jvmti, JNIEnv* jni, jmethodID method, jint depth) {
check_jvmti_status(jni, err, "print_method: error in JVMTI GetMethodName");
LOG("%2d: %s: %s%s\n", depth, cname, mname, msign);
fflush(0);
fflush(nullptr);
deallocate(jvmti, jni, (void*)cname);
deallocate(jvmti, jni, (void*)mname);
deallocate(jvmti, jni, (void*)msign);