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

--- Comment #8 from Mark Thomas <ma...@apache.org> ---
The second test case is not valid. Numeric literals are treated as instances of
Long (as per the EL spec). There are two matching methods. One with a paremeter
of int and one with a parameter of Integer. There is no way for EL to
differentiate bewtween them. The match is ambiguous (both matches would require
co-ercion). Therefore Tomcat's behaviour here is correct.

I'll get the fix for the first issue committed shortly.

-- 
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