summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Kuznetsov <andrei.kuznetsov@jetbrains.com>2022-06-10 14:09:37 +0300
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-07-14 16:32:53 +0000
commitd2bc6eb7f34956582415c7f076d60f8d62087a5d (patch)
tree5c4601faedd5a39f42085d4bf4fd20b584abd769
parent31d6ec8f5ce28f9ca2c4625a345cd617162330d6 (diff)
downloadidea-d2bc6eb7f34956582415c7f076d60f8d62087a5d.tar.gz
IDEA-295189: add `"kotlin.coroutines.jvm.internal.ContinuationImpl` to `kotlinStdlibClassesUsedInSignatures`
otherwise coroutines are not dispatched in plugins which have dependency on Kotlin plugin (e.g. in Android plugin) (cherry picked from commit da03a051c7d9b801dbebd1989eece763e0fd24c3) Change-Id: Ida03a051c7d9b801dbebd1989eece763e0fd24c3 Issue: 238804394 (cherry picked from commit c138c20a248ff4990698114f4c921edf44b22e3b) Merged-In: Ida03a051c7d9b801dbebd1989eece763e0fd24c3
-rw-r--r--platform/core-impl/src/com/intellij/ide/plugins/cl/PluginClassLoader.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/core-impl/src/com/intellij/ide/plugins/cl/PluginClassLoader.java b/platform/core-impl/src/com/intellij/ide/plugins/cl/PluginClassLoader.java
index c3d6d758715d..5d6a1bb813dd 100644
--- a/platform/core-impl/src/com/intellij/ide/plugins/cl/PluginClassLoader.java
+++ b/platform/core-impl/src/com/intellij/ide/plugins/cl/PluginClassLoader.java
@@ -77,7 +77,10 @@ public final class PluginClassLoader extends UrlClassLoader implements PluginAwa
// `kotlin.coroutines.intrinsics.COROUTINE_SUSPENDED` property
"kotlin.coroutines.intrinsics.CoroutineSingletons",
"kotlin.coroutines.AbstractCoroutineContextElement",
- "kotlin.coroutines.AbstractCoroutineContextKey"
+ "kotlin.coroutines.AbstractCoroutineContextKey",
+ "kotlin.coroutines.jvm.internal.ContinuationImpl", // IDEA-295189
+ "kotlin.coroutines.jvm.internal.BaseContinuationImpl", // IDEA-295189
+ "kotlin.coroutines.jvm.internal.CoroutineStackFrame" // IDEA-295189
));
String classes = System.getProperty("idea.kotlin.classes.used.in.signatures");
if (classes != null) {