Signed-off-by: Tomek Grabiec <[email protected]>
---
vm/object.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/vm/object.c b/vm/object.c
index bf75fed..8dfc504 100644
--- a/vm/object.c
+++ b/vm/object.c
@@ -134,6 +134,8 @@ struct vm_object *vm_object_alloc_array(struct vm_class
*class, int count)
for (int i = 0; i < count; ++i)
elems[i] = NULL;
+ res->class = class;
+
return res;
}
--
1.6.0.6
------------------------------------------------------------------------------
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel