protobuf icon indicating copy to clipboard operation
protobuf copied to clipboard

Split bootstrapped java_features.proto to keep it from leaking out.

Open zhangskz opened this issue 1 year ago • 0 comments

Cherry-pick of 2257232676e60f1d06f8c9545c88d1a73a3a8f54, with conflicts resolved from java generator refactor 8e3e09937e1514323cad74b000450c6bd65c04e7

This can cause ODR violations in downstream users who link against both the bootstrapped proto and transitive C++ gencode of java_features.proto. Once protoc is split up, we can turn the bootstrapped proto into a real cc_proto_library target and avoid this problem altogether.

PiperOrigin-RevId: 630099889

zhangskz avatar May 02 '24 19:05 zhangskz