Re: java string literal too long when initializing java.lang.String descriptorData

2009-07-24 Thread Christopher Smith
Heh, I remember complaining about this to James when they first published the byte code spec. It was annoying then and continues to be annoying today. On 7/24/09, Kenton Varda wrote: > How annoying. I'll make sure this or something like it gets into the next > release -- which I'm going to try

Re: java string literal too long when initializing java.lang.String descriptorData

2009-07-24 Thread Kenton Varda
How annoying. I'll make sure this or something like it gets into the next release -- which I'm going to try to push next week. On Wed, Jul 22, 2009 at 8:36 AM, anonymous wrote: > > Hello, > > I was not able to compile a Java file generated by protoc 2.10 from a > rather big .proto file. > It se

Re: java string literal too long when initializing java.lang.String descriptorData

2009-07-22 Thread jasonh
This looks to be a real problem. Kenton's on vacation but should be back soon (tomorrow I think) so he can take a look at the patch then. On Jul 22, 8:36 am, anonymous wrote: > Hello, > > I was not able to compile a Java file generated by protoc 2.10 from a > rather big .proto file. > It seems I

java string literal too long when initializing java.lang.String descriptorData

2009-07-22 Thread anonymous
Hello, I was not able to compile a Java file generated by protoc 2.10 from a rather big .proto file. It seems I have hit the upper limit for a Java string literal (65535???). I slightly modified src/google/protobuf/compiler/java/java_file.cc so that static initialization is performed from an arr