* invokeNative: Replaced c->initialized by (c->state & CLASS_INITIALIZED).
authortwisti <none@none>
Sat, 3 Dec 2005 12:18:12 +0000 (12:18 +0000)
committertwisti <none@none>
Sat, 3 Dec 2005 12:18:12 +0000 (12:18 +0000)
src/native/vm/Method.c

index a21e54d6f1bc2dbff5d81f9162529a3f23f260c3..2936dcb844269bac63edcf704c4d85b735918ba6 100644 (file)
@@ -29,7 +29,7 @@
    Changes: Joseph Wenninger
             Christian Thalinger
 
-   $Id: Method.c 3503 2005-10-26 20:37:42Z twisti $
+   $Id: Method.c 3845 2005-12-03 12:18:12Z twisti $
 
 */
 
@@ -168,7 +168,7 @@ JNIEXPORT java_lang_Object* JNICALL Java_java_lang_reflect_Method_invokeNative(J
 
        /* check if method class is initialized */
 
-       if (!c->initialized)
+       if (!(c->state & CLASS_INITIALIZED))
                if (!initialize_class(c))
                        return NULL;