summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-04-19 22:47:47 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-04-19 22:47:47 +0300
commit080034df9742b94877a3f824ddeddd4f36bd97a8 (patch)
treeb841a49b79c941f4598ce4e8c53a4b5a874cf90b
parentab5d5a4110a075f0f30d1427d8d5c04da72a04d5 (diff)
jvm: more verbose instance of
-rw-r--r--src/jvm/jvm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jvm/jvm.c b/src/jvm/jvm.c
index 70b3e0e..1426190 100644
--- a/src/jvm/jvm.c
+++ b/src/jvm/jvm.c
@@ -451,6 +451,8 @@ JNIEnv_IsInstanceOf(JNIEnv* p0, jobject p1, jclass p2)
{
assert(p0 && p1 && p2);
verbose("%u, %u", (uint32_t)(uintptr_t)p1, (uint32_t)(uintptr_t)p2);
+ verbose("%s", jvm_get_object(jnienv_get_jvm(p0), jvm_get_object(jnienv_get_jvm(p0), p1)->this_klass)->klass.name.data);
+ verbose("%s", jvm_get_object(jnienv_get_jvm(p0), p2)->klass.name.data);
return jvm_get_object(jnienv_get_jvm(p0), p1)->this_klass == p2;
}