From 4a86255823657cc9511dd05f8d2d397aef588c38 Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Fri, 19 Oct 2012 00:28:16 +0400 Subject: [PATCH] Mutable field made volatile: this is a temporary measure to prevent some artifacts of concurrent access --- .../src/org/jetbrains/jet/lang/types/lang/KotlinBuiltIns.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/types/lang/KotlinBuiltIns.java b/compiler/frontend/src/org/jetbrains/jet/lang/types/lang/KotlinBuiltIns.java index f36c32c4ba3..30d4f6804b0 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/types/lang/KotlinBuiltIns.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/types/lang/KotlinBuiltIns.java @@ -136,7 +136,7 @@ public class KotlinBuiltIns { private final ResolveSession resolveSession; private final ModuleDescriptor builtInsModule; - private ImmutableSet nonPhysicalClasses; + private volatile ImmutableSet nonPhysicalClasses; private final ImmutableSet functionClassesSet;