summaryrefslogtreecommitdiffstats
path: root/luni
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-05-23 17:10:55 -0700
committerElliott Hughes <enh@google.com>2011-05-23 17:10:55 -0700
commit78b020b8412d212fa052b7ddf630ca6058c846be (patch)
treee1aad8871509ee4871e7cc9bdc803ad5b95ea239 /luni
parent99c5c63d6b8261991ac3b3af09a5cb96761e1173 (diff)
downloadlibcore-78b020b8412d212fa052b7ddf630ca6058c846be.zip
libcore-78b020b8412d212fa052b7ddf630ca6058c846be.tar.gz
libcore-78b020b8412d212fa052b7ddf630ca6058c846be.tar.bz2
Fix a minor serialization bug found by a Harmony test.
Change-Id: I1f7b149deddb167ff5c644513c48e6439679f108
Diffstat (limited to 'luni')
-rw-r--r--luni/src/main/java/java/io/ObjectStreamClass.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/luni/src/main/java/java/io/ObjectStreamClass.java b/luni/src/main/java/java/io/ObjectStreamClass.java
index 386cfb0..e87fcd4 100644
--- a/luni/src/main/java/java/io/ObjectStreamClass.java
+++ b/luni/src/main/java/java/io/ObjectStreamClass.java
@@ -810,7 +810,7 @@ public class ObjectStreamClass implements Serializable {
return loadFields == null ? fields().clone() : loadFields.clone();
}
- private volatile List<ObjectStreamClass> cachedHierarchy;
+ private transient volatile List<ObjectStreamClass> cachedHierarchy;
List<ObjectStreamClass> getHierarchy() {
List<ObjectStreamClass> result = cachedHierarchy;