History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OGNL-127
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jesse Kuhnert
Reporter: Jesse Kuhnert
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OGNL

can't find methods with varargs parameter

Created: 10/Oct/07 04:58 PM   Updated: 13/Oct/07 05:46 PM
Component/s: Core Runtime
Affects Version/s: 2.7.1
Fix Version/s: 2.7.2

Environment: java >= 1.5


 Description  « Hide
If you have a method signature such as:

getSomething(Object value, Object...arguments)

and pass in only the first argument in an expression like:

"something(value)"

OGNL can't find a matching method unless you pass in a null as the second argument:

"something(value, null)"

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.