Updates:
        Status: WorkingAsIntended

Comment #1 on issue 491 by liuj...@google.com: Optional field throws NullPointerException when not set values.
http://code.google.com/p/protobuf/issues/detail?id=491

This works as intended. We do not allow setting null to the field. When the field is absent, it will point to the default instance instead of null. You need to check if the parameter is null before setting it to the message.

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to