tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 55483] ELException when object has overloaded methods
Date Tue, 02 Aug 2016 04:01:40 GMT

Hao <> changed:

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

--- Comment #10 from Hao <> ---
This change broke our code. I pasted our code here

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

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:
For additional commands, e-mail:

View raw message