Comment #17 on issue 493 by baca...@gmail.com: protobuf-java (2.5.0)
GeneratedMessage#getUnknownFields() not implemented
http://code.google.com/p/protobuf/issues/detail?id=493
@xiaof...
Users who experience this problem should update their project to use the
same version for both halfs of protobuf library instead.
This presumes that developers have full control over the protobuf libraries
used. This is not always the case. If I use third-party library A (which
was compiled with, and is distributed with protobuf 2.4.1) and third-party
library B (which was compiled with, and is distributed with protobuf 2.5)
then whichever library I choose, one or other library will not work[*]. I
may not have the choice to recompile the third party libraries with
different versions of protobufs. This might create a divisive dichotomy in
the ecosystem of 3rd party libs: those still on pb <2.4.1 and below, and
those on pb >2.5, and never shall one half be used in the same application
as the other half.
A suggestion might be to fix up the libraries so that both versions can
live side by side - for example by tweaking the package name to include the
version number? (on breaking changes only).
[*] I'm assuming the problem goes both ways, I haven't actually tested this
yet...
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.