JavaCPP v1.4.3 Release Notes

Release Date: 2018-10-15 // over 5 years ago
    • Add support for linux-mips64el with linux-mips64el.properties (pull #268)
    • Enhance Generator with @ByPtr for primitive types and @NoException for FunctionPointer methods
    • Add BooleanPointer and BooleanIndexer to access arrays of boolean values with sizeof(jboolean) == 1
    • Let Parser skip over static_assert() declarations of C++11
    • Fix android-arm-clang.properties and android-x86-clang.properties for builds with NDK r18 (pull #263)
    • Add to default InfoMap missing int value type and IntPointer pointer type for wchar_t
    • Add Loader.getLoadedLibraries() method for debugging purposes and fix flaky BuilderTest (issue #245)
    • Call PointerScope.attach() as part of Pointer.deallocator(), instead of init(), to support custom deallocators as well
    • Fix Parser failing when a value of an std::pair basic container is also an std::pair (issue bytedeco/javacpp-presets#614)
    • Fix build issues with android-arm and recent versions of the NDK (pull #256)
    • Add platform.preloadresource property to be able to preload libraries from other Java packages
    • Make Builder accept multiple options for platform.link.prefix and platform.link.suffix (pull #250)
    • Let Loader rename JNI libraries when "already loaded in another classloader" (issue deeplearning4j/deeplearning4j#6166)
    • Add new @CriticalRegion annotation to allow zero-copy access to data of Java arrays (pull #254)
    • Allow Builder to create links for resource libraries even when no Java classes are built
    • Fix Loader.cacheResource() creating a subdirectory named "null" when caching a top-level file
    • Update README.md with references to newly published Basic Architecture of JavaCPP and Mapping Recipes for C/C++ Libraries
    • Prevent Parser from appending annotations to setter methods of variables and for basic containers to satisfy the Generator
    • Have Parser wrap the insert() and erase() methods of basic containers to allow modifying lists and sets
    • Let Parser create mutable instances of map containers without const prefix (issue bytedeco/javacpp-presets#595)
    • Fix Parser sometimes ignoring define of const containers (pull bytedeco/javacpp-presets#547)
    • Explain the purpose of the intern() methods generated for Java enums
    • Clarify that Loader.load() can throw UnsatisfiedLinkError when interrupted
    • Synchronize Loader.loadLibrary() to fix potential race condition (pull #246)