Unverified Commit a2e33e79 authored by Jerry Berg's avatar Jerry Berg Committed by GitHub
Browse files

Java fixes for 22.x (#12035)

* Fix mutability bug in Java proto lite: sub-messages inside of oneofs were not
being set as immutable. This would allow code to get a builder for a
sub-message and modify the original (supposedly immutable) copy.

PiperOrigin-RevId: 511598810

* Add casts to make protobuf compatible with Java 1.8 runtime.
Fix for: https://github.com/protocolbuffers/protobuf/issues/11393



PiperOrigin-RevId: 511807920

---------

Co-authored-by: default avatarProtobuf Team Bot <protobuf-github-bot@google.com>
parent fac76b35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment