提交 f57a1876 编写于 作者: J jbachorik

8021577: JCK test...

8021577: JCK test api/javax_management/jmx_serial/modelmbean/ModelMBeanNotificationInfo/serial/index.html#Input has failed since jdk 7u45 b01
Reviewed-by: alanb, dfuchs, ahgross
上级 53ac29c2
......@@ -210,11 +210,6 @@ public class MBeanNotificationInfo extends MBeanFeatureInfo implements Cloneable
ObjectInputStream.GetField gf = ois.readFields();
String[] t = (String[])gf.get("types", null);
if (t == null) {
throw new InvalidObjectException("Trying to deserialize an invalid " +
"instance of " + MBeanNotificationInfo.class +
"[types=null]");
}
types = t.length == 0 ? t : t.clone();
types = (t != null && t.length != 0) ? t.clone() : NO_TYPES;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册