From 73430c02e102503406817c24ed2c01a6745f3f07 Mon Sep 17 00:00:00 2001 From: Eugene Zhuravlev Date: Thu, 21 Jun 2012 22:07:21 +0200 Subject: [PATCH] ensure synchronized access to dfependency cache --- .../compiler/make/ChangedConstantsDependencyProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/compiler/impl/src/com/intellij/compiler/make/ChangedConstantsDependencyProcessor.java b/java/compiler/impl/src/com/intellij/compiler/make/ChangedConstantsDependencyProcessor.java index deae76ab5d3f..bd919a6099b9 100644 --- a/java/compiler/impl/src/com/intellij/compiler/make/ChangedConstantsDependencyProcessor.java +++ b/java/compiler/impl/src/com/intellij/compiler/make/ChangedConstantsDependencyProcessor.java @@ -133,7 +133,7 @@ public class ChangedConstantsDependencyProcessor { final Ref exRef = new Ref(null); processIdentifiers(psiSearchHelper, new PsiElementProcessor() { @Override - public boolean execute(@NotNull PsiIdentifier identifier) { + public synchronized boolean execute(@NotNull PsiIdentifier identifier) { try { final PsiElement parent = identifier.getParent(); if (parent instanceof PsiReferenceExpression) {