aboutsummaryrefslogtreecommitdiff
path: root/java/README.txt
diff options
context:
space:
mode:
authorMax Cai <maxtroy@google.com>2014-08-21 17:38:59 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-21 17:38:59 +0000
commite57ee765da3f4438cded9d2ba2d011b602158e20 (patch)
treec74f1edfeb17d52609d070fa35cbcad108dd7278 /java/README.txt
parent11985d9b4e4c24e52573228c210fd26da1e31690 (diff)
parenta476440cb4c10a5235fa828e401b6036217330da (diff)
downloadprotobuf-e57ee765da3f4438cded9d2ba2d011b602158e20.tar.gz
protobuf-e57ee765da3f4438cded9d2ba2d011b602158e20.tar.bz2
protobuf-e57ee765da3f4438cded9d2ba2d011b602158e20.zip
am 2e6d4ae0: am f39998c2: am daf63839: Merge "Keep pointers to extension values."
* commit '2e6d4ae02a955d33a75c0642b8ffead20e11fd9a': Keep pointers to extension values.
Diffstat (limited to 'java/README.txt')
-rw-r--r--java/README.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/java/README.txt b/java/README.txt
index c6933138..4dfef142 100644
--- a/java/README.txt
+++ b/java/README.txt
@@ -442,9 +442,10 @@ used simultaneously from multiple threads in a read-only manner.
In other words, an appropriate synchronization mechanism (such as
a ReadWriteLock) must be used to ensure that a message, its
ancestors, and descendants are not accessed by any other threads
-while the message is being modified. Field reads, getter methods,
-toByteArray(...), writeTo(...), getCachedSize(), and
-getSerializedSize() are all considered read-only operations.
+while the message is being modified. Field reads, getter methods
+(but not getExtension(...)), toByteArray(...), writeTo(...),
+getCachedSize(), and getSerializedSize() are all considered read-only
+operations.
IMPORTANT: If you have fields with defaults and opt out of accessors