changeset 12941:5bf77113d49b

8130253: ObjectStreamClass.getFields too restrictive Reviewed-by: igerasim, skoivu
author chegar
date Fri, 03 Jul 2015 14:40:49 +0100
parents 6b7960246d55
children 76abc44582c5
files src/java.base/share/classes/java/io/ObjectStreamClass.java
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/io/ObjectStreamClass.java	Tue Jun 30 14:22:31 2015 -0700
+++ b/src/java.base/share/classes/java/io/ObjectStreamClass.java	Fri Jul 03 14:40:49 2015 +0100
@@ -845,7 +845,6 @@
      * returned.
      */
     ObjectStreamField[] getFields(boolean copy) {
-        requireInitialized();
         return copy ? fields.clone() : fields;
     }