Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 416 by [email protected]: HasField is throwing UnsupportedOperationException on repeated fields
http://code.google.com/p/protobuf/issues/detail?id=416

What steps will reproduce the problem?
1. Use the java bindings.
2. Create a message containing a repeated field.
3. Get the fieldDescriptor of that repeated field.
4. Call hasField(fieldDescriptor) on the message builder.

What is the expected output? What do you see instead?
Expected: true or false, dependind if there is at least one value set for the repeated field.

Actual: UnsupportedOperationException is thrown.

What version of the product are you using? On what operating system?
Google Protocol Buffers 2.4.1
Ubuntu 12.04 LTS

Please provide any additional information below.
Didn't test on python or C bindings.

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to