-
Notifications
You must be signed in to change notification settings - Fork 112
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
Restore protobuf patch to drop java 7 compatibility #478
Restore protobuf patch to drop java 7 compatibility #478
Conversation
//CC @Yannic @alexeagle |
95e0451
to
157a3d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Please add exports_files(["protobuf_drop_java_7_compatibility.patch"])
to //closure:BUILD
Sorry for deleting the patch in #474! LGTM
Done. Thanks for the review! |
215a8a1
to
bd04db8
Compare
This update upgrades Protobuf to v3.11.4 and replaces default value of closure_js_binary#dependency_mode with PRUNE_LEGACY. This upgrade switched to forked rules_closure version, until this PR is merged: [1]. [1] bazelbuild/rules_closure#478 Change-Id: I6d4ac2ae24545f302fec9a39bbcd019974f574be
Ping? //CC @meteorcloudy Can we we move forward here and create new rules_closure release and also publish it on Bazel Mirror? Right now our CI is failing, because Gerrit build depends on my rules_closure fork, and GitHub is not reliable enough. see the whole story: [1]. [1] https://bugs.chromium.org/p/gerrit/issues/detail?id=12542 |
Thanks @acozzette protocolbuffers/protobuf#7306 is merged now and we don't have to patch Protobuf any more. Yeah! |
This partially reverts canges done in: 3bdfdbf.
As the consequence building downstream e.g. Gerrit Code Review re-introduced these annoying warnings:
Related Gerrit Issue: [1]. Related Bazel Issue: [2]. Rejected attempt to drop Java 7 compatibility in Protobuf: [3].
[1] https://bugs.chromium.org/p/gerrit/issues/detail?id=11102
[2] bazelbuild/bazel#8772
[3] protocolbuffers/protobuf#6711