Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.2.1
-
None
-
Websphere 6.1
-
Important
Description
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')
assuming that the bean with the method has been pushed onto the ValueStack.
I think it has something to do with:
ognl.OgnlRuntime.callAppropriateMethod(...)
and the arguments being sent to:
invokeMethod(target, method, convertedArgs);