OGNL Varargs method invocation fails
------------------------------------
Key: WW-3523
URL: https://issues.apache.org/jira/browse/WW-3523
Project: Struts 2
Issue Type: Bug
Components: Expression Language
Affects Versions: 2.2.1
Environment: Websphere 6.1
Reporter: Alfredo Osorio
I'm getting java.lang.IllegalArgumentException when trying to invoke a vararg
method with OGNL.
Here is an example of the method signature:
public String sayHello(String... names);
Expression used to invoke it
sayHello('Alfred', 'John');
I think it has something to do with:
ognl.OgnlRuntime.callAppropriateMethod(...)
and the arguments being sent to:
invokeMethod(target, method, convertedArgs);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.