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

Synchronize iteration on synchronized list in ParallelScatterZipCreator

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.15
    • Fix Version/s: 1.16
    • Component/s: Archivers
    • Labels:
    • Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: