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

Re: Detecting message type prior parsing a ByteBuffer containing the message

2009-07-22 Thread jasonh
On Jul 21, 11:00 pm, Benedikt Hallinger b.hallin...@skyforcesystems.de wrote: Hello, thank you very much for the ideas. Since i will have a unknowable ammount of Message types, extensions would be the way to go. Your were right with the assumption that i use Java. The construct and send

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 eric.pe...@hp.com wrote: Hello, I was not able to compile a Java file generated by protoc 2.10 from a rather big .proto