Signed-off-by: Tomek Grabiec <tgrab...@gmail.com> --- vm/jni-interface.c | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/vm/jni-interface.c b/vm/jni-interface.c index 929fb8b..b80ab66 100644 --- a/vm/jni-interface.c +++ b/vm/jni-interface.c @@ -696,6 +696,22 @@ vm_jni_get_static_double_field(struct vm_jni_env *env, jobject object, return field_get_int64(object, field); } +static jboolean +vm_jni_call_static_boolean_method(struct vm_jni_env *env, jclass clazz, + jmethodID methodID, ...) +{ + va_list args; + jboolean result; + + enter_vm_from_jni(); + + va_start(args, methodID); + result = (jboolean) vm_call_method_v(methodID, args); + va_end(args); + + return result; +} + /* * The JNI native interface table. * See: http://java.sun.com/j2se/1.4.2/docs/guide/jni/spec/functions.html @@ -865,7 +881,7 @@ void *vm_jni_native_interface[] = { /* 115 */ vm_jni_call_static_object_method_v, NULL, /* CallStaticObjectMethodA */ - NULL, /* CallStaticBooleanMethod */ + vm_jni_call_static_boolean_method, NULL, /* CallStaticBooleanMethodV */ NULL, /* CallStaticBooleanMethodA */ -- 1.6.0.6 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel