From: Alexis de Talhouët Date: Fri, 29 Apr 2016 11:54:00 +0000 (-0400) Subject: Bug 5819 - Violation of synchronization rules in AbstractSchemaRepository X-Git-Tag: release/beryllium-sr3~9 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=98ac2b04a469af0b0d69d17ef66799fb46a9c4ed;hp=98ac2b04a469af0b0d69d17ef66799fb46a9c4ed;p=yangtools.git Bug 5819 - Violation of synchronization rules in AbstractSchemaRepository As noted by @GuardedBy annotation, access to sources field need to be performed while holding the object monitor. Refactor getSchemaSource() to create a copy under lock and then release it for further processing. Change-Id: I65fddf5830e657c3601c85fd976f12e3c8bb3ff6 Signed-off-by: Alexis de Talhouët Signed-off-by: Robert Varga (cherry picked from commit 36bdb3a032d4924b36dc86d782e58043954adadc) ---