JavaCpp v1.4.1 Release Notes

Release Date: 2018-03-29 // about 6 years ago
    • Enhance Loader.createLibraryLink() by allowing to create symbolic links in other directories
    • Fix Parser failing on enum declarations where the first line is a macro (issue #230)
    • Make call to Pointer.physicalBytes() thread safe and remove lock (issue #231)
    • Add Info.enumerate to let Parser map C++ enum classes to Java enum types (issue #108)
    • Prevent Loader from loading twice copies of the same DLL (issue deeplearning4j/deeplearning4j#4776)
    • Add a BuildMojo.targetDirectory parameter to set a directory containing Java files generated by buildCommand
    • Fix missing jnijavacpp.cpp when processing classes from different packages (issue #228)
    • Enhance Loader.addressof() by making it try harder to find symbols on Linux and Mac OS X
    • Add get() and toString() methods to basic containers defined in Parser
    • Fix Parser ignoring Info.define and other information for macros actually defined
    • Fix SharedPtrAdapter and UniquePtrAdapter failing to take ownership of temporary objects
    • Fix properties for android-arm64 and android-x86_64 platforms that need API level 21
    • Add "org.bytedeco.javacpp.pathsfirst" system property to let users search "java.library.path", etc before the class path
    • Add Parser support for _Bool, _Complex, _Imaginary, complex, imaginary types from C99
    • Fix Generator incorrectly splitting type names for template arguments containing function types
    • Fix NullPointerException in Builder when copying resources for static libraries
    • Let Generator pick up @NoException annotations from super classes as well
    • Add -stdlib=libc++ option to iOS properties, required by clang++ to support C++11 (pull #221)
    • Make it possible to define read-only containers with Parser by prepending const (issue #223)
    • Fix Parser failure of variable or function declarations on names starting with ::, among other various small issues
    • Access elements of basic containers defined in Parser with at() instead of operator[] (issue #223)
    • Add third element to @Const annotation to support virtual const functions (pull #224)
    • Create more symbolic links to libraries preloaded by Loader to satisfy libraries like MKL
    • Work around in Builder the inability to pass empty arguments on Windows
    • Catch more exceptions that can occur in Loader when caching resources (pull #226)
    • Add .a as an allowed library extension for iOS so they can get bundled
    • Fix Parser failing on variables with direct list initialization { ... } (issue #223)
    • Allow Parser to map and cast function pointers to Pointer