compilation error fixed

This commit is contained in:
bob 2015-11-09 14:08:57 +02:00
parent 962add95c8
commit c2cb331f41
1 changed files with 2 additions and 1 deletions

View File

@ -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))