nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: update because resolved types are in error messages
[nit.git]
/
lib
/
jvm.nit
diff --git
a/lib/jvm.nit
b/lib/jvm.nit
index
a9d815e
..
4482a93
100644
(file)
--- 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