JavaCpp v1.5.4 Release Notes
Release Date: 2020-09-09 // over 3 years ago-
- Fix
Parser
not producingPointerPointer
parameters forFunctionPointer
subclasses - Let
Builder
copy even thoseplatform.executable
files without prefix or suffix - Add missing declaration for
GetCurrentThreadId()
inGenerator
whenNO_WINDOWS_H
is defined - Process
#undef
directives to allow redefining macros withParser
(issue bytedeco/javacpp-presets#935) - Pick up in
Parser
methods specified withoverride
, in addition tovirtual
(issue #419) - Let
Parser
create a separate Java peer class whenInfo.pointerTypes
is different for types prefixed withconst
- Fix
Generator
for@Virtual
methods protected in subclasses by casting to superclass (issue #419) - Add missing values to
Info.Info(Info)
and fix incorrectInfo.skipDefaults(boolean)
(issue #420) - Add
PointerBufferPoolMXBean
to track allocations and deallocations ofPointer
(pull #413) - Change the
@Platform(executable=...
property to an array and allow bundling multiple files per class - Prevent
Builder
unnecessarily linking with-framework JavaVM
to fix GraalVM Native Image on Mac (issue #417) - Add
Pointer.getPointer()
methods as shortcuts fornew P(p).position(p.position + i)
(issue #155) - Fix
Generator
for cases when aFunctionPointer
returns anotherFunctionPointer
- Fix
Parser
failure withauto
keyword of C++11 used as placeholder type specifier or for trailing return type (issue #407) - Add
Builder.configDirectory
option to letGenerator
output files that GraalVM needs for AOT compilation (issue eclipse/deeplearning4j#7362) - Fix
Parser
error ontemplate<>
containing non-type parameters without names (issue bytedeco/javacpp-presets#889) - Bundle also the
vcruntime140_1.dll
andmsvcp140_1.dll
redist files from Visual Studio - Fix
Builder
for different "java.home" path returned by latest JDKs from Oracle (pull #400) - Refactor
Builder
a little to work around issues with Gradle - Log as warnings
SecurityException
thrown onLoader.getCacheDir()
instead of swallowing them - Fix memory leak that occurs with "org.bytedeco.javacpp.nopointergc" (issue bytedeco/javacpp-presets#878)
- Take into account
platform.library.path
when extracting executables and their libraries onLoader.load()
(issue bytedeco/javacv#1410) - Move init code for
Loader.getPlatform()
toDetector
to avoid warning messages (issue #393) - Add
HyperslabIndex
class withoffsets
,strides
,counts
, andblocks
parameters (pull #392) - Add
Index
class to allow overriding how the index is calculated inIndexer
(issue #391)
- Fix