You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Mark Brouwer (JIRA)" <ji...@apache.org> on 2008/03/06 22:04:59 UTC
[jira] Resolved: (RIVER-286) [PATCH] iterators on synchronized
collections still need synchronization
[ https://issues.apache.org/jira/browse/RIVER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Brouwer resolved RIVER-286.
--------------------------------
Resolution: Fixed
Applied patch and also corrected some javadoc and cleaned the unused import statements.
> [PATCH] iterators on synchronized collections still need synchronization
> ------------------------------------------------------------------------
>
> Key: RIVER-286
> URL: https://issues.apache.org/jira/browse/RIVER-286
> Project: River
> Issue Type: Bug
> Components: com_sun_jini_mahalo
> Reporter: Dave Brosius
> Assignee: Mark Brouwer
> Priority: Minor
> Fix For: AR2
>
> Attachments: synchronize_iterator.patch
>
>
> Code creates a collection with Collections.synchronizedMap, and then iterates the collection without synchronizing. This is a mistake as a map can't impose synchronization on the iterator. This patch fixes this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.