With protobuf-java:3.0.0-beta-1 and protoc:3.0.0-beta-1, I have started 
getting IllegalAccessError in the generated code for access to memoizedSize 
in getSerializedSize():


java.lang.IllegalAccessError: tried to access field 
> com.google.protobuf.AbstractMessage.memoizedSize from class 
> com.playground.proto.PlayProtos$DummyMessage
> at 
> com.playground.proto.PlayProtos$DummyMessage.getSerializedSize(PlayProtos.java:722)
> at 
> com.google.protobuf.AbstractMessageLite.toByteArray(AbstractMessageLite.java:64)


I am using syntax = "proto2".

syntax = "proto2";
>
 

package playground;
> option java_package = "com.playground.proto";
> option java_outer_classname = "PlayProtos";
>
 

message DummyMessage {

... 

} 

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to