From 391696a6f8db31f86b869a69febbc0ff85a68ca6 Mon Sep 17 00:00:00 2001 From: Chris Hegarty Date: Fri, 3 Jul 2015 14:40:49 +0100 Subject: [PATCH] 8130253: ObjectStreamClass.getFields too restrictive Reviewed-by: igerasim, skoivu --- jdk/src/java.base/share/classes/java/io/ObjectStreamClass.java | 1 - 1 file changed, 1 deletion(-) diff --git a/jdk/src/java.base/share/classes/java/io/ObjectStreamClass.java b/jdk/src/java.base/share/classes/java/io/ObjectStreamClass.java index 77e638b50bd..ca01d35cf9b 100644 --- a/jdk/src/java.base/share/classes/java/io/ObjectStreamClass.java +++ b/jdk/src/java.base/share/classes/java/io/ObjectStreamClass.java @@ -845,7 +845,6 @@ public class ObjectStreamClass implements Serializable { * returned. */ ObjectStreamField[] getFields(boolean copy) { - requireInitialized(); return copy ? fields.clone() : fields; }