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; }