Uploaded image for project: 'River'
  1. River
  2. RIVER-286

[PATCH] iterators on synchronized collections still need synchronization

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: River_2.1.2
    • Component/s: com_sun_jini_mahalo
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              marbro Mark Brouwer
              Reporter:
              dbrosius Dave Brosius
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: