Tibor17 opened a new pull request #79: Pull/78 COMPRESS-485 + Substituting 'synchronized' with faster and fully thread-safe collections 'ConcurrentLinkedDeque' and iterators. URL: https://github.com/apache/commons-compress/pull/79 One `ArrayList` was synchronized and another was not. In this concurrent access. Considering wekanesses of memory model this may produce sporadic NPE (so that retrieved Future may not be visible in another thread) Using synchronization would avoid it but why to use it in such simple critical sections today if we have concurrent collections in Java 1.5+. So used `ConcurrentLinkedDequeue` and that's it. Easy.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
