Util.writeAny should report a specific error if object not serializable

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: other-libs
    • None
    • beta2
    • unknown
    • solaris_2.6
    • Not verified

        There should be a try/catch around the cast to (Serializable).
        It should catch ClassCastException then raise a more specific error like:

        "attempt to serialize a non-serializable object".

        This needs to be raised in a form appropriate for rmi-iiop.

        Not sure if this is used by IDL? I do not think so.

              Assignee:
              Everett Anderson (Inactive)
              Reporter:
              Harold Carr
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: