river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Brouwer (JIRA)" <j...@apache.org>
Subject [jira] Closed: (RIVER-286) [PATCH] iterators on synchronized collections still need synchronization
Date Sun, 09 Mar 2008 12:49:46 GMT

     [ https://issues.apache.org/jira/browse/RIVER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Brouwer closed RIVER-286.
------------------------------


> [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.


Mime
View raw message