From 49782b4d05d16fa7b997d343dcdc388c8c9836ea Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 8 Jul 2004 02:58:30 +0000 Subject: [PATCH] List.add method returns boolean --- bindings/java/src/jni/javasigar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/java/src/jni/javasigar.c b/bindings/java/src/jni/javasigar.c index 4942f435..949d4c49 100644 --- a/bindings/java/src/jni/javasigar.c +++ b/bindings/java/src/jni/javasigar.c @@ -551,8 +551,8 @@ static int jni_proc_module_get(void *data, jni_proc_module_t *module = (jni_proc_module_t *)data; JNIEnv *env = module->env; - JENV->CallObjectMethod(env, module->listobj, module->id, - JENV->NewStringUTF(env, name)); + JENV->CallBooleanMethod(env, module->listobj, module->id, + JENV->NewStringUTF(env, name)); return SIGAR_OK; }