We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 681b218 commit 6ae940eCopy full SHA for 6ae940e
src/main/kotlin/io/bazel/kotlin/builder/toolchain/KotlinToolchain.kt
@@ -233,9 +233,11 @@ class KotlinToolchain private constructor(
233
}
234
},
235
Preloader.DEFAULT_CLASS_NUMBER_ESTIMATE,
236
- classLoader,
237
- null,
238
- )
+ classLoader
+ ) { className ->
+ // Preload guava to avoid weird isolation issues.
239
+ className.startsWith("com.google.common.")
240
+ }
241
}.onFailure {
242
throw RuntimeException("$javaHome, $baseJars", it)
243
}.getOrThrow()
0 commit comments