X-Git-Url: http://nitlanguage.org diff --git a/lib/jvm.nit b/lib/jvm.nit index a9d815e..4482a93 100644 --- a/lib/jvm.nit +++ b/lib/jvm.nit @@ -169,7 +169,7 @@ extern class JavaVM `{JavaVM *`} return env; `} - fun attach_current_thread: JniEnv `{ + fun attach_current_thread: JniEnv import jni_error `{ JNIEnv *env; #ifdef ANDROID // the signature is different (better actually) on Android