From c2cb331f419618681abc2d235f578603548bd781 Mon Sep 17 00:00:00 2001 From: bob Date: Mon, 9 Nov 2015 14:08:57 +0200 Subject: [PATCH] compilation error fixed --- jnius/jnius_utils.pxi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jnius/jnius_utils.pxi b/jnius/jnius_utils.pxi index 27663cd..b1b76da 100644 --- a/jnius/jnius_utils.pxi +++ b/jnius/jnius_utils.pxi @@ -185,7 +185,8 @@ cdef void check_assignable_from(JNIEnv *env, JavaClass jc, signature) except *: # we got an object that doesn't match with the signature # check if we can use it. - cls = env[0].FindClass(env, str_for_c(signature)) + s = str_for_c(signature) + cls = env[0].FindClass(env, s) if cls == NULL: raise JavaException('Unable to found the class for {0!r}'.format( signature))