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

java.rmi.server.ObjID's hashCode() method is not correctly implemented

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.5.1

      Description

      java.rmi.server.ObjID's equals() method will return false for two objects with the same hashCode(). equals() considers UID of the ObjID while hashCode() does not.

      This means that two objects from different VM's can be hashed to the same location. Definetly not the way things are supposed to work.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: