Question
Serializing a ProtobufXXXXClass.Builder object may throw an exception:
Exception in thread "fory-jit-compiler-56" java.lang.RuntimeException: java.lang.NoSuchMethodException: no such method: com.google.protobuf.MapEntry.parseFrom(CodedInputStream)MapEntry/invokeStatic
Analysis: Because the Builder class does not match any branch in ProtobufDispatcher, its internal fields are subsequently traversed. MapEntry indeed does not contain a parseFrom method.
Question: Should Fory support serializing the Builder class, or is it sufficient to only support the finalized object returned by Builder.build()?
@chaokunyang