for-each on empty Caches.asPartitionedMap throws NoSuchElementException
-----------------------------------------------------------------------
Key: JBCACHE-1593
URL:
https://jira.jboss.org/browse/JBCACHE-1593
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.2.5.GA, 3.2.4.GA
Environment: Linux, java jdk 1.6, jboss core cache 3.2.5 (and previously 3.2.4)
Reporter: C Unitt
Assignee: Manik Surtani
Using a for-each loop on an empty map returned by Caches.asPartitionedMap throws
NoSuchElementException.
See Steps To Reproduce for junit test which shows the problem and describes the
work-around.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira