]
Gail Badner resolved HHH-5146.
------------------------------
Resolution: Fixed
Fixed in master.
org.hibernate.util.IdentitySet.iterator() return Map.Entry instances
instead of actual elements
-----------------------------------------------------------------------------------------------
Key: HHH-5146
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5146
Project: Hibernate Core
Issue Type: Patch
Components: core
Affects Versions: 3.5.1
Reporter: Nicklas Nordborg
Assignee: Gail Badner
Priority: Trivial
Fix For: 4.0.0.next
Attachments: patch.txt
By accident I used the IdentitySet implementation in my code and got ClassCastException:s
when iterating over it. It turns out that the iterator() method returns
Map.entrySet().iterator() instead of Map.keySet().iterator(). There is also a similar
problem with the toArray() methods. I provide a patch.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: