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 2004/01/27 19:50:28 UTC

DO NOT REPLY [Bug 26470] - TreeBidiMap.put(Object, Object) throws ClassCastException

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=26470>.
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=26470

TreeBidiMap.put(Object, Object) throws ClassCastException





------- Additional Comments From scolebourne@joda.org  2004-01-27 18:50 -------
This is nothing to do with classloaders. All objects stored in a TreeBidiMap 
must implement the Comparable interface. Object does not implement Comparable.

If the javadoc doesn't say this it needs improving ;-)

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