mirror of https://github.com/kivy/pyjnius.git
Add missing string conversion.
This commit is contained in:
parent
e7dc9be08b
commit
d9f6f0ab19
|
@ -130,7 +130,7 @@ class MetaJavaClass(MetaJavaBase):
|
|||
|
||||
if NULL == obj:
|
||||
for interface in getattr(value, '__javainterfaces__', []):
|
||||
obj = j_env[0].FindClass(j_env, interface)
|
||||
obj = j_env[0].FindClass(j_env, str_for_c(interface))
|
||||
if obj == NULL:
|
||||
j_env[0].ExceptionClear(j_env)
|
||||
elif 0 != j_env[0].IsAssignableFrom(j_env, obj, me.j_cls):
|
||||
|
|
Loading…
Reference in New Issue