Skip to content

JavaCPP 1.5.5

Compare
Choose a tag to compare
@saudet saudet released this 08 Mar 09:53
· 153 commits to master since this release
1.5.5
66738d6

March 8, 2021 version 1.5.5

  • Ensure System.gc() never gets called with "org.bytedeco.javacpp.nopointergc" (issue tensorflow/java#208)
  • Add Info.immutable to disable generating setters for public data members (pull #461)
  • Map String to char* with Charset.forName(STRING_BYTES_CHARSET) when that macro is defined (pull #460)
  • Fix Loader.ClassProperties not always getting overridden correctly when defined multiple times
  • Allow Loader.load() to also rename executables on extraction to output filenames specified with the # character
  • Add @AsUtf16 annotation to map java.lang.String to unsigned short* (array of UTF-16 code units) (pull #442)
  • Add BasicStringAdapter and corresponding @StdBasicString, @StdU16String, and @StdU32String annotations (pull #448)
  • Fix Parser failures on try blocks as function body, nested class templates, and aliases to namespaces starting with ::
  • Prevent Loader from failing to find, load, or link libraries multiple times
  • Fix Pointer.getPointer() methods sometimes calling the wrong constructor (issue bytedeco/javacv#1556)
  • Prevent Android from trying to load PointerBufferPoolMXBean by using it via reflection (pull #447)
  • Fix Android build properties for NDK r22 and move legacy to android-*-gcc.properties (pull #444)
  • Add support for Mac on ARM processors
  • Fix Loader not searching for libraries in more than one package
  • Prevent Builder from linking with -framework JavaVM when a path to the JVM library is found
  • Replace requires with requires static in JPMS .platform module (pull #436)
  • Let Parser output Info.javaText even for template declarations with no instances
  • Prevent Tokenizer from using long literals for unsigned integers of 16 bits or less
  • Ensure Parser considers >= and <= as single tokens to prevent failures
  • Make Parser use Info.cppTypes to override the type of enum values
  • Fix Parser not using the correct Info.pointerTypes for const& declarations
  • Use pthreads in Generator to detach automatically native threads on exit for Linux and Mac as well
  • Let Loader.load() always succeed on optional libraries only available with extensions
  • Fix Builder.addProperty() incorrectly appending values together