You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2015/11/27 22:48:12 UTC
[jira] [Closed] (COLLECTIONS-515) ClassCastException in
LazySortedMap when used with equals/transformers
[ https://issues.apache.org/jira/browse/COLLECTIONS-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Neidhart closed COLLECTIONS-515.
---------------------------------------
> ClassCastException in LazySortedMap when used with equals/transformers
> ----------------------------------------------------------------------
>
> Key: COLLECTIONS-515
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-515
> Project: Commons Collections
> Issue Type: Bug
> Components: Collection, Map
> Affects Versions: 4.0
> Environment: Mac OS 10.9, Java 6
> Reporter: Cyrille Artho
> Attachments: Report3.java
>
>
> When LazySortedMap is used by equals, the result is
> java.lang.ClassCastException: org.apache.commons.collections4.map.LazySortedMap cannot be cast to java.lang.String
> This seems to be odd, as the use of the different transformations should not result in internal casting to String. See the attached unit test to reproduce.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)