[lworld] ObjectReference.equals should follow == semantics for value objects

XMLWordPrintable

    • generic
    • generic

      ObjectReference.equals spec says:
      returns true if the Object is an ObjectReference, if the ObjectReferences belong to the same VM, and if applying the "==" operator on the mirrored objects in that VM evaluates to true.
      If ObjectReference was created during value object ctor, we can get 2 different ObjectReference (with different objectIDs) for equal value objects.

      Also need to update ObjectReference.hashCode to be consistent with ObjectReference.equals

            Assignee:
            Alex Menkov
            Reporter:
            Alex Menkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: