Signed-off-by: Tomek Grabiec <tgrab...@gmail.com> --- vm/jni-interface.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/vm/jni-interface.c b/vm/jni-interface.c index 28fac8a..67e8656 100644 --- a/vm/jni-interface.c +++ b/vm/jni-interface.c @@ -320,6 +320,15 @@ vm_jni_call_static_byte_method_v(struct vm_jni_env *env, jclass clazz, return (jbyte) vm_call_method_v(methodID, args); } +static jshort +vm_jni_call_static_short_method_v(struct vm_jni_env *env, jclass clazz, + jmethodID methodID, va_list args) +{ + enter_vm_from_jni(); + + return (jshort) vm_call_method_v(methodID, args); +} + static void vm_jni_set_object_field(struct vm_jni_env *env, jobject object, jfieldID field, jobject value) { @@ -519,7 +528,7 @@ void *vm_jni_native_interface[] = { /* 125 */ NULL, /* CallStaticCharMethodA */ NULL, /* CallStaticShortMethod */ - NULL, /* CallStaticShortMethodV */ + vm_jni_call_static_short_method_v, NULL, /* CallStaticShortMethodA */ NULL, /* CallStaticIntMethod */ -- 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