From d9f6f0ab19c2c86eb85273d51c56b63e6dbd70f0 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 13 Dec 2017 09:53:02 -0500 Subject: [PATCH] Add missing string conversion. --- jnius/jnius_export_class.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jnius/jnius_export_class.pxi b/jnius/jnius_export_class.pxi index f347f75..49c8e5e 100644 --- a/jnius/jnius_export_class.pxi +++ b/jnius/jnius_export_class.pxi @@ -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):