-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Bug]: vendored jars leak proto #32758
Milestone
Comments
marked as 2.62.0 release blocker (cut on Dec 18, 2024) |
Added "Protobuf error" section in the description. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
Beam vendors a few dependencies (grpc, guava). These vendored dependency jars have package namespace shaded (* -> org/apache/beam/vendor/*) so it won't leak classes. However this repackage does not contain protos, as a result, it still leaks proto sources
For example, in org.apache.beam » beam-vendor-grpc-1_60_1 » 0.2:
Protobuf error
@zhumin8 created a reproducer with Protobuf Gradle plugin where it gets
protoc: stdout: . stderr: sample.proto:6:52: Enum type "google.api.FieldBehavior" has no value named "IDENTIFIER" for option "google.api.field_behavior"
:https://github.com/zhumin8/cloud-opensource-java/tree/test/boms/test-gradle
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: