To align better with the 'Don't be too cheeky' principle of jextract, which says that we should try to pull too many clever tricks, we've decided to drop the layout inferring variadic function invoker.
Instead, users would always have to pass the layouts explicitly and instantiate the invoker interface in order to invoke a variadic function. A more WYSIWYG approach.
Additionally, we should expose a more low-level factory that returns a specialized method handle, which can be used to call the variadic function without any additional overhead.
Instead, users would always have to pass the layouts explicitly and instantiate the invoker interface in order to invoke a variadic function. A more WYSIWYG approach.
Additionally, we should expose a more low-level factory that returns a specialized method handle, which can be used to call the variadic function without any additional overhead.
- relates to
-
CODETOOLS-7903663 update jextract sample scripts for library loading and varargs handling changes
-
- Resolved
-