[protobuf] Java Serialization: Extension goes missing

2013-06-03 Thread Stik kos
I'm using a protobuf java file inside a class which gets serialized (using the default Java serialization) and I noticed that the extensions aren't available after de-serializing the object. *This is my proto file:* message ExtensionTest { extensions 100 to max; optional string

Re: [protobuf] Java Serialization: Extension goes missing

2013-06-03 Thread Feng Xiao
On Mon, Jun 3, 2013 at 12:51 PM, Stik kos stik...@gmail.com wrote: I use parseFrom if i de-serialise the Protobuf object myself from a byte-array but in this case, the protobuf object is just a member of a Serializable Java Object which gets serialized using the Java Serialization (not using