Skip to content

Commit 6663517

Browse files
jketemaCopilot
andcommitted
Explain Java 8 option warning suppression
Document why only javac's options lint category is disabled for the Kotlin extractor. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 702a2b3 commit 6663517

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎java/kotlin-extractor/BUILD.bazel‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ _component_registrar_service = (
9191
kt_javac_options(
9292
name = "javac-options",
9393
release = "8",
94+
# JDK 25 reports Java 8 option warnings; keep them from becoming errors via Kotlin's warn = "error".
9495
x_lint = ["-options"],
9596
)
9697

0 commit comments

Comments
 (0)