From 78b020b8412d212fa052b7ddf630ca6058c846be Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 23 May 2011 17:10:55 -0700 Subject: Fix a minor serialization bug found by a Harmony test. Change-Id: I1f7b149deddb167ff5c644513c48e6439679f108 --- luni/src/main/java/java/io/ObjectStreamClass.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 cachedHierarchy; + private transient volatile List cachedHierarchy; List getHierarchy() { List result = cachedHierarchy; -- cgit v1.1