Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-430

Synchronize iteration on synchronized list in ParallelScatterZipCreator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.15
    • 1.16
    • Archivers
    • Patch

    Description

      Following what is defined in the Collections javadoc, it might be a good idea to synchronize when iterating the stream list, that is created with Collections.synchronizedList.

      This work originated after the pull request submitted to VALIDATOR-434, and searching other components in commons using similar method to create lists but not synchronizing the iteration.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kinow Bruno P. Kinoshita
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: