Thank you Feng for replying. Are there any plans to back port these changes
to 2.6.1 ? Could you please point me to a commit id ?
On Tuesday, July 11, 2017 at 1:58:38 PM UTC-7, Feng Xiao wrote:
> On Tue, Jul 11, 2017 at 1:06 PM, Minimol Thomas <minimo...@gmail.com
>> Compilation of java code generated using protobuf compiler fails giving
>> the error, "code too large".
>> We have an enumeration with 6000 values. And the code generated for this
>> enum is causing the problem.
>> I would not be able to make any changes to the enumeration as the
>> protofile is owned/maintained by another team.
>> The java code generated using protobuf compiler 3 for same protofile
>> compiles without any issues.
>> Do we have any option to continue using protobuf compiler version 2.6.1
>> and solve "code too large" problem.
>> Note: I am already using "option java_multiple_files = true;"
> Please suggest
> I remember we implemented something in protobuf to reduce the code size
> for enums and that's probably why you don't get the error with newer
> version of protocol compiler. If you have to use protobuf 2.6.1, I think
> you will have to patch up protoc 2.6.1 yourself and adopt the same fix used
> in latest version of protoc.
>> You received this message because you are subscribed to the Google Groups
>> "Protocol Buffers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> To post to this group, send email to prot...@googlegroups.com
>> Visit this group at https://groups.google.com/group/protobuf.
>> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.