Unserializable notifications not handled well

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.0
    • Component/s: core-svc
    • None

      The Notification class is serializable, and hence any defined subclasses are too, unless they go out of their way not to be. But a notification may include referenced objects that are not serializable. In this case our current code will drop the notification instead of sending it to a remote client, which is acceptable, but may also drop other notifications that arrived at the same time, even if they were serializable. That's not good.

      We need to code a unit test for this and revisit the notification-handling code. For JMXMP, the class ServerIntermediary contains a REVISIT comment indicating where it could be improved. For RMI, it is less clear how to resolve this problem.

            Assignee:
            Eamonn McManus
            Reporter:
            Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: