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

[PATCH] iterators on synchronized collections still need synchronization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • River_2.1.2
    • com_sun_jini_mahalo
    • 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

        1. synchronize_iterator.patch
          2 kB
          David Brosius

        Activity

          People

            marbro Mark Brouwer
            dbrosius David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: