river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Updated: (RIVER-286) [PATCH] iterators on synchronized collections still need synchronization
Date Sun, 03 Feb 2008 05:44:08 GMT

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

Dave Brosius updated RIVER-286:
-------------------------------

    Attachment: synchronize_iterator.diff

> [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
>            Priority: Minor
>         Attachments: synchronize_iterator.diff
>
>
> 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