v1.1.0
Added
- New CMake option
JNI_CPP_THREAD_ATTACH
that enables the existingEXPERIMENTAL_AUTO_CPP_THREAD_ATTACH
feature. Allows to call back into Java from a thread created in C++. It is recommended to avoid this if possible! (#14) - Additional check in
CMakeLists.txt
that will not allow buildingDJINNI_WITH_CPPCLI
together withDJINNI_WITH_OBJC
,DJINNI_WITH_JNI
orDJINNI_WITH_PYTHON
at the same time. (#35)
Removed
- Polyfill for thread-local storage in the cwrapper that was intended for use until all supported compilers support
thread_local
natively. It was causing a build error on Windows (#32) and is not needed anymore. (#41)
Fixed
- Assertion failure on Android AVD on Apple M1. (#30)
- Missing header
wrapper_marshal.hpp
in the installed cwrapper header files. (#36) - Error messages in Java build if AWT is not found. (#12)
- Compiler warning in the cwrapper because of a missing
return
outside of a catch-block. (#34)
Known issues
This version doesn't compile for JNI on Android with the flag EXPERIMENTAL_AUTO_CPP_THREAD_ATTACH
enabled. The problem was solved in #46 and will be fixed in the next release.