summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-05-29 03:47:51 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-05-29 03:47:51 +0300
commitb259eef71724c532b940ab10b7c2ee60db754d3d (patch)
tree12c1321aa3e91d7d0ce885894a1b5975420c4d18 /src
parent6b40e6f70d3dd9aa39574e25f1eca47bf5853a2b (diff)
jvm: log opaque objects better
Diffstat (limited to 'src')
-rw-r--r--src/jvm/jvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jvm/jvm.c b/src/jvm/jvm.c
index 010cc2b..d6be887 100644
--- a/src/jvm/jvm.c
+++ b/src/jvm/jvm.c
@@ -257,7 +257,7 @@ jvm_object_print(struct jvm *jvm, const struct jvm_object *obj)
switch (obj->type) {
case JVM_OBJECT_OPAQUE:
- verbose_log("[OPAQUE]");
+ verbose_log("[OPAQUE] %s", jvm_get_object(jvm, obj->this_klass)->klass.name.data);
break;
case JVM_OBJECT_ARRAY:
verbose_log("[ARRAY] element_sz: %zu size: %zu", obj->array.element_sz, obj->array.size);