Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 vm/jni-interface.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vm/jni-interface.c b/vm/jni-interface.c
index 1bd3fb0..81b95ab 100644
--- a/vm/jni-interface.c
+++ b/vm/jni-interface.c
@@ -93,7 +93,7 @@ vm_jni_get_method_id(struct vm_jni_env *env, jclass clazz, 
const char *name,
                return NULL;
 
        /* XXX: Make sure it's not static. */
-       mb = vm_class_get_method(class, name, sig);
+       mb = vm_class_get_method_recursive(class, name, sig);
        if (!mb) {
                signal_new_exception(vm_java_lang_NoSuchMethodError, NULL);
                return NULL;
@@ -150,7 +150,7 @@ vm_jni_get_static_method_id(struct vm_jni_env *env, jclass 
clazz,
                return NULL;
 
        /* XXX: Make sure it's actually static. */
-       mb = vm_class_get_method(class, name, sig);
+       mb = vm_class_get_method_recursive(class, name, sig);
        if (!mb) {
                signal_new_exception(vm_java_lang_NoSuchMethodError, NULL);
                return NULL;
-- 
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

Reply via email to