https://bz.apache.org/bugzilla/show_bug.cgi?id=55483

Hao <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #10 from Hao <[email protected]> ---
This change broke our code. I pasted our code here
http://stackoverflow.com/questions/38709068/argument-type-of-parameterized-method-call-in-el

We were able to call ${objectMapper.writeValueAsString(actionItems)} where
actionItems is an ArrayList, while writeValueAsString takes an Object argument. 

After this change, method invocation in EL can only find the method with exact
match of parameter types. And our method call is broken with
NoSuchMethodException.

It makes sense to find the exact match when there are method overloads. But if
there is no method overload, it should return the only matched method thus it
is compatible with the old code like ours.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to