提交 6ac691b1 编写于 作者: I igerasim

8130253: ObjectStreamClass.getFields too restrictive

Reviewed-by: igerasim, skoivu
上级 0fb30dd9
...@@ -845,7 +845,6 @@ public class ObjectStreamClass implements Serializable { ...@@ -845,7 +845,6 @@ public class ObjectStreamClass implements Serializable {
* returned. * returned.
*/ */
ObjectStreamField[] getFields(boolean copy) { ObjectStreamField[] getFields(boolean copy) {
requireInitialized();
return copy ? fields.clone() : fields; return copy ? fields.clone() : fields;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册