Cannot implement equals/hashCode to spec unless extending RemoteObject

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.1.6
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • None
    • 1.1.6
    • sparc
    • solaris_2.5.1
    • Verified

        RemoteObject.equals returns false if its parameter is not a RemoteObject. If I'm implementing a server that does not extend RemoteObject I therefore cannot ensure that stub.equals(impl) == impl.equals(stub). I can make impl.equals(stub) work correctly by retaining the stub returned by exportObject and then forwarding equals() and hashCode() methods to it, but stub.equals(impl) will still fail.

              Assignee:
              Peter Jones (Inactive)
              Reporter:
              Kenneth Arnold (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: