diff --git a/jnius/jnius_export_class.pxi b/jnius/jnius_export_class.pxi index 0e321d9..7638ab5 100644 --- a/jnius/jnius_export_class.pxi +++ b/jnius/jnius_export_class.pxi @@ -73,7 +73,7 @@ class MetaJavaClass(type): with nogil: classLoader = j_env[0].CallStaticObjectMethodA( - j_env, baseclass, getClassLoader, []) + j_env, baseclass, getClassLoader, NULL) jargs = malloc(sizeof(jobject) * 2) jargs[0] = classLoader jargs[1] = interfaces