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

--- Comment #7 from Christopher Ng <cng1...@gmail.com> ---
The fix for this has broken one of our EL expressions, we have an overloaded
method like so:

doSomething(HttpServletRequest a, String b, String c, String d);
doSomething(String a, String b, String c, String d);

and we end up with an error 'Unable to find unambiguous method'.  It is
supposed to invoke the first method.

>From what I can tell it's because when it is assessing the suitability of each
method, it doesn't find an exact match for either as the actual request object
is a sub-class of HttpServletRequest, and can also be coerced into a String.

Perhaps this can be fixed by prioritising sub-class matches over coercions?

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to