Bug 538102 - Concurrent exception in BuildManager.initializeBuilder

If triggering project builds from multiple threads (e.g. during tests),
its possible that BuildManager.initializeBuilder is entered by 2 or more
threads. If the persistent info of a builder has not been processed yet,
this can result in a ConcurrentModificationException.

This change adds synchronization when the builder persistent info is
accessed, avoiding potential ConcurrentModificationExceptions.

Change-Id: I7762b972cf1bcf9ab254f92d4e76d92724f0001c
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
1 file changed
tree: 0b89dc188ef1aa390a49ccd900bf3157c172ea7a
  1. bundles/
  2. tests/
  3. .gitignore
  4. CONTRIBUTING.md
  5. pom.xml