Logger methods are void return type (blew up on ibm jdk)

This commit is contained in:
Doug MacEachern 2004-07-06 18:04:37 +00:00
parent f56e1c0744
commit ee9cefd9e5
1 changed files with 1 additions and 1 deletions

View File

@ -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)