]
Edson Tirelli resolved DROOLS-1482.
-----------------------------------
Resolution: Done
FEEL: external java function references not working for functions
with variable number of parameters
----------------------------------------------------------------------------------------------------
Key: DROOLS-1482
URL:
https://issues.jboss.org/browse/DROOLS-1482
Project: Drools
Issue Type: Feature Request
Components: dmn engine
Affects Versions: 7.0.0.Beta7
Reporter: Edson Tirelli
Assignee: Edson Tirelli
Fix For: 7.0.0.Final
External Java functions with variable number of parameters not working. E.g.:
{code}
{
string format : function( mask, value ) external {
java : {
class : "java.lang.String",
method signature : "format( java.lang.String,
[Ljava.lang.Object; )"
}
},
format currency : function( amount )
string format( "$%,4.2f", amount ),
result : format currency( 76499.3456 )
}
{code}