changeset 33291:b57cd65fbe99

8130253: ObjectStreamClass.getFields too restrictive Reviewed-by: igerasim, skoivu
author chegar
date Fri, 03 Jul 2015 14:40:49 +0100
parents f035b59aaf61
children 4d2290a6ce1f
files jdk/src/java.base/share/classes/java/io/ObjectStreamClass.java
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.base/share/classes/java/io/ObjectStreamClass.java	Tue Jun 30 14:22:31 2015 -0700
+++ b/jdk/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;
     }