Skip to content

v1.1.0

Compare
Choose a tag to compare
@a4z a4z released this 07 Jul 08:20
· 21 commits to main since this release
16d09e7

Added

  • New CMake option JNI_CPP_THREAD_ATTACH that enables the existing EXPERIMENTAL_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 building DJINNI_WITH_CPPCLI together with DJINNI_WITH_OBJC, DJINNI_WITH_JNI or DJINNI_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.