From ea2509666a3c4785c30bf5d8de20b33ecb77b877 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Fri, 10 Sep 2010 17:45:52 -0600 Subject: [PATCH] reverse operands when calling builtin isAssignableFrom Our builtin function reverses the meanings of the operands relative to the JNI method. --- src/jnienv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jnienv.cpp b/src/jnienv.cpp index 532819b0d1..02c7af652e 100644 --- a/src/jnienv.cpp +++ b/src/jnienv.cpp @@ -404,7 +404,7 @@ IsInstanceOf(Thread* t, jobject o, jclass c) } jboolean JNICALL -IsAssignableFrom(Thread* t, jclass a, jclass b) +IsAssignableFrom(Thread* t, jclass b, jclass a) { ENTER(t, Thread::ActiveState);