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

--- Comment #1 from Konstantin Kolinko <[email protected]> ---
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to