Skip to content

Comments

[8.2.0] Add --experimental_java_classpath=bazel_no_fallback option#25676

Merged
iancha1992 merged 1 commit intobazelbuild:release-8.2.0from
bazel-io:cp24876-8.2.0
Mar 26, 2025
Merged

[8.2.0] Add --experimental_java_classpath=bazel_no_fallback option#25676
iancha1992 merged 1 commit intobazelbuild:release-8.2.0from
bazel-io:cp24876-8.2.0

Conversation

@bazel-io
Copy link
Member

This change introduces a new option, --experimental_java_classpath=bazel_no_fallback, which operates similarly to --experimental_java_classpath=bazel but does not fall back to the full transitive classpath. Instead, the build fails if javac cannot compile with the reduced classpath.

Fixes #24875

Closes #24876.

PiperOrigin-RevId: 739864240
Change-Id: I53b25c35ac57e4a4ef3baa49eadc1952dac6457d

Commit f25433a

This change introduces a new option, `--experimental_java_classpath=bazel_no_fallback`, which operates similarly to `--experimental_java_classpath=bazel` but does not fall back to the full transitive classpath. Instead, the build fails if javac cannot compile with the reduced classpath.

Fixes bazelbuild#24875

Closes bazelbuild#24876.

PiperOrigin-RevId: 739864240
Change-Id: I53b25c35ac57e4a4ef3baa49eadc1952dac6457d
@bazel-io bazel-io requested a review from a team as a code owner March 24, 2025 09:47
@bazel-io bazel-io added team-Rules-Java Issues for Java rules awaiting-review PR is awaiting review from an assigned reviewer labels Mar 24, 2025
@bazel-io bazel-io requested a review from hvadehra March 24, 2025 09:47
@iancha1992 iancha1992 added this pull request to the merge queue Mar 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 24, 2025
@iancha1992 iancha1992 added this pull request to the merge queue Mar 26, 2025
Merged via the queue into bazelbuild:release-8.2.0 with commit 32ad54b Mar 26, 2025
46 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-Rules-Java Issues for Java rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants