Comment #8 on issue 210 by aantono: Java code should detect incompatible runtime library version
http://code.google.com/p/protobuf/issues/detail?id=210

I would dare to say "yes", as the protobuf-java jar doen't really have much to do with the protoc version. Just like in C, the *.so file is being linked against during compilation, in java you link against classes provided in a jar during your program compilation.

The version of protoc should match the definitions in the *.proto files (if new syntax is added. The java code that gets generated does not really follows the backwards or any other compatibility rules of the protoc itself (actually according to Kenton, the java versions, just like C, are never backwards or forwards compatible to anything but itself)

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to