Skip to content

Use the exec configuration for cases in which we want the build toolchain. - #290

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_997975677
Oct 13, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_997975677

Conversation

@copybara-service

Copy link
Copy Markdown

Use the exec configuration for cases in which we want the build toolchain.

This prepares for fixing our various projects to run their tests under older versions even though they build under newer ones.

RELNOTES=n/a

copybara-service Bot pushed a commit to google/inject-common that referenced this pull request Oct 12, 2026
- Run Bazel CI tests under the configured matrix JDK runtimes rather than always using `.bazelrc`'s default runtime (which prior to this CL was JDK 21).
- Standardize the version matrix on [8, 11, 25].
- For Bazel toolchain/`exec` operations, use a JDK 25, and for the `bazel`/`mvn` VM itself, have CI request JDK 27.
- Plus, enable debug info for Inject-Common.

Prep work:
- Skip Flogger tests that use Mockito under Java 8. Mockito 5+ requires Java 11+. (It would make sense to skip under Java 9 and Java 10, too, but meh.)
- Set `--jvmopt=-Dnet.bytebuddy.experimental=true` for Flogger to enable support for Java-25 class files.

This CL might require a bazel-common upgrade to pull in google/bazel-common#290.

Compare cl/996591293.

RELNOTES=n/a
PiperOrigin-RevId: 996790401
copybara-service Bot pushed a commit to google/flogger that referenced this pull request Oct 12, 2026
- Run Bazel CI tests under the configured matrix JDK runtimes rather than always using `.bazelrc`'s default runtime (which prior to this CL was JDK 21).
- Standardize the version matrix on [8, 11, 25].
- For Bazel toolchain/`exec` operations, use a JDK 25, and for the `bazel`/`mvn` VM itself, have CI request JDK 27.
- Plus, enable debug info for Inject-Common.

Prep work:
- Skip Flogger tests that use Mockito under Java 8. Mockito 5+ requires Java 11+. (It would make sense to skip under Java 9 and Java 10, too, but meh.)
- Set `--jvmopt=-Dnet.bytebuddy.experimental=true` for Flogger to enable support for Java-25 class files.

This CL might require a bazel-common upgrade to pull in google/bazel-common#290.

Compare cl/996591293.

RELNOTES=n/a
PiperOrigin-RevId: 996790401
…lchain.

This prepares for fixing our various projects to run their *tests* under older versions even though they *build* under newer ones.

RELNOTES=n/a
PiperOrigin-RevId: 998277969
@copybara-service
copybara-service Bot merged commit d8b1468 into master Oct 13, 2026
4 checks passed
@copybara-service
copybara-service Bot deleted the test_997975677 branch October 13, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant