Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lite classes in the protobuf-java Maven release to be JDK8 compat… #20843

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

zhangskz
Copy link
Member

…ible.

Adds LITE_SRCS to core_bundle which seems to be sufficient to ensure these are compiled targeting Java 8 in //java/core:core_mvn Bazel 7. Note this changes the output of //java/core:core_bundle, which should only be used for //java/core:core_mvn anyways.

This seems to have been broken originally by commit (c820dd0) when using bazel 7 image.

Fixes #20580

PiperOrigin-RevId: 740372071

Cherry-pick 47b60e9

Verified

This commit was signed with the committer’s verified signature.
abmusse Abdirahim Musse
…ible.

Adds LITE_SRCS to core_bundle which seems to be sufficient to ensure these are compiled targeting Java 8 in //java/core:core_mvn Bazel 7. Note this changes the output of `//java/core:core_bundle`, which should only be used for `//java/core:core_mvn` anyways.

This seems to have been broken originally by commit (c820dd0) when using bazel 7 image.

Fixes #20580

PiperOrigin-RevId: 740372071
@zhangskz zhangskz requested a review from a team as a code owner March 26, 2025 14:35
@zhangskz zhangskz requested review from shaod2 and honglooker and removed request for a team and shaod2 March 26, 2025 14:35
@honglooker
Copy link
Contributor

grazie~

@zhangskz zhangskz enabled auto-merge (squash) March 26, 2025 14:37
@zhangskz zhangskz merged commit 7a4c63b into 30.x Mar 26, 2025
208 checks passed
@zhangskz zhangskz deleted the cp-maven-jdk8 branch March 26, 2025 15:01
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.

None yet

2 participants