* src/vm/vm.c (vm_array_from_objectarray): TYPE_LNG: Added missing
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Fri, 14 Sep 2007 21:39:49 +0000 (23:39 +0200)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Fri, 14 Sep 2007 21:39:49 +0000 (23:39 +0200)
primitive_type_get_by_wrapperclass to get type (fixes JBoss).

src/vm/vm.c

index 66ed3f4d80c4e972c4b2625f6cabbeaf473311b0..24c239b59748cf34fd3ce293991dcca79d79d50e 100644 (file)
@@ -2678,6 +2678,8 @@ uint64_t *vm_array_from_objectarray(methodinfo *m, java_handle_t *o,
                        }
 
                        LLNI_class_get(param, c);
+                       type = primitive_type_get_by_wrapperclass(c);
+
                        assert(td->decltype == PRIMITIVETYPE_LONG);
 
                        switch (type) {