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

Binary compatibility shims for GeneratedMessageV3, SingleFieldBuilder… #17934

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

zhangskz
Copy link
Member

…V3, RepeatedFieldBuilderV3, and their nested classes to restore binary compatibility with <=v3.x.x generated code built against v3.x.x prior to v4.26.0 breaking release.

3.x.x descriptor.proto generated code is not supported with 4.x.x runtime, since this results in an ODR violation with the descriptor.proto built into the 4.x.x runtime. This is expected to result in undefined behavior / failures.

Tested against //java/core:v25_generated_message_test_jar (binary compatibility) and //java/core:v25_generated_message_test_srcjar (source compatibility)

PiperOrigin-RevId: 664819152

Cherry-pick of df8a11e

…V3, RepeatedFieldBuilderV3, and their nested classes to restore binary compatibility with <=v3.x.x generated code built against v3.x.x prior to v4.26.0 breaking release.

3.x.x descriptor.proto generated code is *not* supported with 4.x.x runtime, since this results in an ODR violation with the descriptor.proto built into the 4.x.x runtime. This is expected to result in undefined behavior / failures.

Tested against //java/core:v25_generated_message_test_jar (binary compatibility) and //java/core:v25_generated_message_test_srcjar (source compatibility)

PiperOrigin-RevId: 664819152
@zhangskz zhangskz requested review from a team as code owners August 23, 2024 15:25
@zhangskz zhangskz requested review from deannagarcia, shaod2, ericsalo and googleberg and removed request for a team, deannagarcia and shaod2 August 23, 2024 15:26
@zhangskz zhangskz merged commit 9aaa1d1 into 27.x Aug 23, 2024
174 checks passed
@zhangskz zhangskz deleted the cp-27-compat-upgrade branch August 23, 2024 15:45
epkugelmass added a commit to epkugelmass/orc that referenced this pull request Sep 17, 2024
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