I get a couple of related warnings when compiling MessageLite.java.

    protected boolean parseUnknownField( ... )
      final FieldSet<ExtensionDescriptor> extensions =

The warnings are because .extensions is a private field of
ExtendableMessage<MessageType>>.  The exact warning is:

"extensions has private access in

I can make that problem go away by changing the visibility of
extensions, but doing that generates a warning "Exporting non-public
type through public API."

What's the right way to fix this?

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to