Aviator 4.2.4 released
killme2008
released this
20 Sep 04:25
·
541 commits
to master
since this release
Main features:
- Fixed #162 , long type promption error.
- Fixed #166 , call varidic methods in java class.
- Adds
seq.array(clazz, arg1, arg2, ...)
function to create an array ofclazz
type,seq.array(int, 1, 2, 3)
for example that creates an int arraynew int[] {1, 2, 3}
. - Adds annotations for importing java class methods:
Function
for java method to set custom function name.Ignore
to ignore java method for importing.Import
annotation with new methodAviatorEvaluatorInstance#importFunctions
to set imported methods scope and namespace.
- Breaking change: aviator generated bytecode version bump to Java 1.7
map
andreduce
function now supportjava.util.Map
, the element type isMap.Entry
, #164- Constant pool for constants(number/string etc.) to reduce CPU and memory consumption #167