Comment #8 on issue 210 by aantono: Java code should detect incompatible runtime library version

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
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to