Releases: yglukhov/jnim
Releases · yglukhov/jnim
v0.3.2
v0.3.1
- Automatically handle
JNI_EDETACHED
error when connecting to running VM in a new thread. (#36) - Introduce
findClassOverride
(#37) - Slightly changed
jobject
and co definitions to reflect their inheritance relations. This is a breaking change, resulting in compilation error, but it is easy to fix. (#39) - Fixed incompatibility with Nim 0.17. (#40)
v0.3.0
Ownership model changes
This change may affect you if you are using newJVMObject
and fromJObject
procs. Previously these procs assumed that the argument is local ref, which would be deleted by JVMObject
finalizer. Now they don't take the ownership of the ref, but create a personal global ref. If you wish such local ref to be consumed, use new newJVMObjectConsumingLocalRef
and fromJObjectConsumingLocalRef
. Relevant issue: #29.
Experimental support for subclassing Java interfaces in Nim.
This is a new functionality that still may be adjusted in a backward incompatible way. Usage example is demonstrated in test_jni_export.nim
v0.2.6
v0.2.5
Corrected version in nimble file
v0.2.4 Bump version to 0.2.4
Android VM autoconnect and optimizations
- Implemented automatic connection to Android JVM/DVM
- Various optimizations by moving signature computations to compile time.