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