Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ maven.install(
artifacts = [
"com.google.code.findbugs:jsr305:3.0.2",
"junit:junit:4.13-beta-3",
"com.google.protobuf:protobuf-java:3.6.0",
"com.google.protobuf:protobuf-java-util:3.6.0",
"com.google.protobuf:protobuf-java:3.25.6",
"com.google.protobuf:protobuf-java-util:3.26.6",
"com.google.guava:guava:27.1-jre",
"com.google.truth:truth:0.45",
"com.google.auto.service:auto-service:1.1.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class CompilationTaskContext(
header: String,
msg: MessageOrBuilder,
) {
printLines(header, TextFormat.printToString(msg).split("\n"), filterEmpty = true)
printLines(header, TextFormat.printer().printToString(msg).split("\n"), filterEmpty = true)
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,10 @@ class KotlinToolchain private constructor(
},
Preloader.DEFAULT_CLASS_NUMBER_ESTIMATE,
classLoader,
null,
)
) { className ->
// Preload guava to avoid weird isolation issues.
className.startsWith("com.google.common.")
}
}.onFailure {
throw RuntimeException("$javaHome, $baseJars", it)
}.getOrThrow()
Expand Down