From e9ba38fdc14f62564fc08cd2b1fe9bcfc6b96b75 Mon Sep 17 00:00:00 2001 From: Yuriy Artamonov Date: Tue, 26 Nov 2024 14:50:39 +0100 Subject: [PATCH] [registry] IJPL-172399 ConcurrentModificationException when the config has several objects with the same key GitOrigin-RevId: 8c81e7c83aef4d71314706953df809136572b94d --- .../util/src/com/intellij/openapi/util/registry/Registry.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/util/src/com/intellij/openapi/util/registry/Registry.kt b/platform/util/src/com/intellij/openapi/util/registry/Registry.kt index 5d4efa559f79..06c444a62e5d 100644 --- a/platform/util/src/com/intellij/openapi/util/registry/Registry.kt +++ b/platform/util/src/com/intellij/openapi/util/registry/Registry.kt @@ -388,6 +388,9 @@ class Registry { return state } + /** + * Shares modifiable map of stored properties, no defensive copying applied. + */ @Internal fun getStoredProperties(): MutableMap = userProperties