From ee9cefd9e5c347a77d3938b16c973fdae83440ac Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 6 Jul 2004 18:04:37 +0000 Subject: [PATCH] Logger methods are void return type (blew up on ibm jdk) --- bindings/java/src/jni/javasigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/java/src/jni/javasigar.c b/bindings/java/src/jni/javasigar.c index 093194e6..4942f435 100644 --- a/bindings/java/src/jni/javasigar.c +++ b/bindings/java/src/jni/javasigar.c @@ -993,7 +993,7 @@ static void jsigar_log_impl(sigar_t *sigar, void *data, 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)