You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/06/11 20:06:55 UTC

DO NOT REPLY [Bug 19857] - Methods ConvertUtilsBean.convert could check for converters registered with base classes

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19857>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19857

Methods ConvertUtilsBean.convert could check for converters registered with base classes





------- Additional Comments From ericpabst@discoverfinancial.com  2003-06-11 18:06 -------
Converting to a super-class is not good enough since the caller expects to get 
something that casts to the requested target class.  Converting to a sub-class 
would be useful, although I don't see it as doable since Class doesn't have a 
method called something like "getKnownSubclasses".

On the other hand, if you were talking about the situation that bug 20686 
requests, then I could see looking up the super-class chain for the source 
class.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org