Skip to content

JavaCPP 1.5.9

Compare
Choose a tag to compare
@saudet saudet released this 05 Jun 13:42
· 24 commits to master since this release
1.5.9
d6b495f

June 6, 2023 version 1.5.9

  • Fix Loader.extractResource() for nested JAR files from Spring Boot (pull #685)
  • Have Parser desugar ... varargs to array [] for return types as well (pull #682)
  • Fix Parser failing on some friend functions for operator overloading (pull #681)
  • Fix Parser incorrectly casting const pointers to template arguments of pointer types (pull #677)
  • Fix Parser with Info.enumerate failing to translate enum values based on other enum values
  • Fix Parser prematurely expanding macros defined in class, struct or union (issue #674)
  • Add Info.upcast to support class hierarchies with virtual inheritance (pull #671)
  • Pick up @Adapter, @SharedPtr, etc annotations on allocate() as well (pull #668)
  • Provide @Virtual(subclasses=false) to prevent Generator from subclassing subclasses (pull #660)
  • Fix Loader.getPlatform() detection for linux-armhf with Temurin JDK (issue bytedeco/javacv#2001)
  • Fix Parser ignoring Info.skip for enumerators that do not get translated (issue bytedeco/javacpp-presets#1315)
  • Fix Parser error on C++17 style namespace declarations containing :: separators (issue #595)
  • Fix Parser observing Info.virtualize for non-virtual functions (pull #658)
  • Use regex in Parser to match more robustly templates and namespaces (pull #657)
  • Fix Builder default output path for class names with the same length (pull #654)
  • Add Info.friendly to have Parser map some friend functions to Java methods (pull #649)
  • Add Loader.loadProperties(boolean forceReload) to reset platform properties (issue deepjavalibrary/djl#2318)
  • Prevent TokenIndexer from recursively expanding macros
  • Fix Generator passing empty String objects on callback for arguments using adapters
  • Fix Parser failure on enum enumerators generated using the concat ## operator