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 f5a2c98Copy full SHA for f5a2c98
src/main/kotlin/io/bazel/kotlin/builder/toolchain/KotlinToolchain.kt
@@ -234,8 +234,10 @@ class KotlinToolchain private constructor(
234
},
235
Preloader.DEFAULT_CLASS_NUMBER_ESTIMATE,
236
classLoader,
237
- null,
238
- )
+ ) { 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