Logger methods are void return type (blew up on ibm jdk)
This commit is contained in:
parent
f56e1c0744
commit
ee9cefd9e5
|
@ -993,7 +993,7 @@ static void jsigar_log_impl(sigar_t *sigar, void *data,
|
||||||
|
|
||||||
message_obj = (jobject)JENV->NewStringUTF(env, message);
|
message_obj = (jobject)JENV->NewStringUTF(env, message);
|
||||||
|
|
||||||
JENV->CallObjectMethod(env, logger, id, message_obj);
|
JENV->CallVoidMethod(env, logger, id, message_obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
JNIEXPORT void SIGAR_JNI(SigarLog_setLogger)
|
JNIEXPORT void SIGAR_JNI(SigarLog_setLogger)
|
||||||
|
|
Loading…
Reference in New Issue