RFR: 8019584 javax/management/remote/mandatory/loading/MissingClassTest.java failed in nightly against jdk7u45: java.io.InvalidObjectException: Invalid notification: null

Jaroslav Bachorik jaroslav.bachorik at oracle.com
Thu Jul 11 04:48:02 PDT 2013


Please, review the change.

http://cr.openjdk.java.net/~jbachorik/8019584/webrev.00/

The combination of the fix for JDK-8014085 and
ObjectInputStream.readFields() not throwing CNFE when trying to
deserialize an object graph containing references to non-available
classes makes an InvalidObjectException being thrown instead of the CNFE
when processing JMX notifications.

The patch makes the ClientNotificationForwarder ready for
InvalidObjectException - it will correctly report lost notifications but
will not cause the notification processing loop to fail with unhandled
exception.

Thanks,

-JB-


More information about the serviceability-dev mailing list