Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4017960

stub required to implement hashCode and equals for a non-UnicastRemoteObject

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1beta3
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Not verified

      Description

      In order to write correct versions of the hashCode and equals method for remote objects that do not extend java.rmi.server.UnicastRemoteObject, the remote object needs to obtain its stub to use for comparison purposes. Therefore,
      UnicastRemoteServer.exportObject method should return a RemoteStub, so that the remote object can obtain the stub for the object when it is exported and use that information in the hashCode and equals methods. The exportObject method, in Alpha2, correctly returned RemoteStub.

        Attachments

          Activity

            People

            Assignee:
            awollratsunw Ann Wollrath (Inactive)
            Reporter:
            awollratsunw Ann Wollrath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: