Skip to content

Suppress JVM warnings when running Bazel jars - #8439

Merged
LeFrosch merged 2 commits into
bazelbuild:masterfrom
LeFrosch:pull/bdd3cf6ea5460d7374a24411989904221c33d6a8
Aug 12, 2026
Merged

Suppress JVM warnings when running Bazel jars#8439
LeFrosch merged 2 commits into
bazelbuild:masterfrom
LeFrosch:pull/bdd3cf6ea5460d7374a24411989904221c33d6a8

Conversation

@LeFrosch

Copy link
Copy Markdown
Collaborator

When running the Starlark REPL it prints the following warnings:

WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by net.starlark.java.eval.JNI in an unnamed module (file:/home/daniel_brauner/.local/share/JetBrains/CLion2026.2/clwb/bazel/starlark_repl.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

@LeFrosch
LeFrosch marked this pull request as ready for review August 12, 2026 11:51
@LeFrosch
LeFrosch requested review from mai93 and ujohnny as code owners August 12, 2026 11:51
@github-actions github-actions Bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Aug 12, 2026
@LeFrosch
LeFrosch merged commit 0125ecc into bazelbuild:master Aug 12, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from Untriaged to Done in Bazel IntelliJ Plugin Aug 12, 2026
@LeFrosch
LeFrosch deleted the pull/bdd3cf6ea5460d7374a24411989904221c33d6a8 branch August 12, 2026 12:25
@github-actions github-actions Bot removed the awaiting-review Awaiting review from Bazel team on PRs label Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin

Projects

Development

Successfully merging this pull request may close these issues.

2 participants