From 28690b7f329cec320a480dd0cc5ab8ea0d147317 Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Fri, 23 Apr 2021 09:19:54 +0200 Subject: [PATCH] KotlinToolRunner: Add "java.system.class.loader" to execSystemPropertiesBlacklist IDE integration tests will forward an unvailable intellij classloader which will fail the execution. --- .../org/jetbrains/kotlin/compilerRunner/KotlinToolRunner.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/compilerRunner/KotlinToolRunner.kt b/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/compilerRunner/KotlinToolRunner.kt index c78c4c7bbf8..c163e5283fd 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/compilerRunner/KotlinToolRunner.kt +++ b/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/compilerRunner/KotlinToolRunner.kt @@ -27,8 +27,9 @@ internal abstract class KotlinToolRunner( open val execSystemProperties: Map = emptyMap() open val execSystemPropertiesBlacklist: Set = setOf( - "java.endorsed.dirs", // Fix for KT-25887 - "user.dir" // Don't propagate the working dir of the current Gradle process + "java.endorsed.dirs", // Fix for KT-25887 + "user.dir", // Don't propagate the working dir of the current Gradle process + "java.system.class.loader" // Don't use custom class loaders ) abstract val classpath: Set