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

--- Comment #1 from Konstantin Kolinko <knst.koli...@gmail.com> ---
In the String class there is no such method as "replace(String, String)"

The methods are
replace(CharSequence, CharSequence)
replace(char, char)

Method matching was changed in 7.0.53 (implementing fix for bug 55483).

Apparently when searching for a method in Util.findWrapper() there is no
distinction between "isAssignableFrom" and "isCoercibleFrom" parameters when
weighting potential matches.

I do not see any place in EL specification that clarifies how method matching
is performed.


By the way, for your use case I can suggest to use fn:replace() function from
JSTL tag library,
http://tomcat.apache.org/taglibs/standard/

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