Skip to content

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

Merged
zhangskz merged 1 commit into30.xfrom
cp-maven-jdk8
Mar 26, 2025
Merged

Fix lite classes in the protobuf-java Maven release to be JDK8 compat…#20843
zhangskz merged 1 commit into30.xfrom
cp-maven-jdk8

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

…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 honglooker and shaod2 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.

2 participants