lib/jvm: fix missing import
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 17 Mar 2015 21:11:54 +0000 (17:11 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Wed, 18 Mar 2015 12:37:57 +0000 (08:37 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/jvm.nit

index a9d815e..4482a93 100644 (file)
@@ -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