diff options
author | Max Cai <maxtroy@google.com> | 2014-07-15 15:15:28 +0100 |
---|---|---|
committer | Max Cai <maxtroy@google.com> | 2014-07-15 15:38:04 +0100 |
commit | 11f883e185a2ea6fd6d0b19520e9f0f004e90e5c (patch) | |
tree | 75205c505646c352b6cd21a73869d8f1d0dc3572 /src/google/protobuf/unittest_extension_nano.proto | |
parent | daf638399bd42122306786e8062f392ddace4363 (diff) | |
download | external_protobuf-11f883e185a2ea6fd6d0b19520e9f0f004e90e5c.zip external_protobuf-11f883e185a2ea6fd6d0b19520e9f0f004e90e5c.tar.gz external_protobuf-11f883e185a2ea6fd6d0b19520e9f0f004e90e5c.tar.bz2 |
Fix access around unknownFieldData.
Instead of publishing its class I chose to encapsulate the troublesome
references in equals()/hashCode() in the generated code into superclass
methods in ExtendableMessageNano.
Changed a couple of java packages in the test suite to catch this issue
easier in the future.
Change-Id: I43f88411f63bb6f3ffc8d63361f2f77bebf6220a
Diffstat (limited to 'src/google/protobuf/unittest_extension_nano.proto')
-rw-r--r-- | src/google/protobuf/unittest_extension_nano.proto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/unittest_extension_nano.proto b/src/google/protobuf/unittest_extension_nano.proto index 0a775f4..2a678a8 100644 --- a/src/google/protobuf/unittest_extension_nano.proto +++ b/src/google/protobuf/unittest_extension_nano.proto @@ -1,7 +1,7 @@ syntax = "proto2"; option java_outer_classname = "Extensions"; -option java_package = "com.google.protobuf.nano"; +option java_package = "com.google.protobuf.nano.testext"; message ExtendableMessage { optional int32 field = 1; |