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

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

XMLWordPrintable

    • sparc
    • solaris_2.5.1

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: