-
Bug
-
Resolution: Fixed
-
P2
-
18
Specification for java.rmi.server.ObjID.hashCode asserts:
==========================
public int hashCode()
Returns the hash code value for this object identifier, _the object number_.
==========================
https://docs.oracle.com/en/java/javase/17/docs/api/java.rmi/java/rmi/server/ObjID.html#hashCode()
The changes done withJDK-8268764 replaced the original implementation with Long.hashCode usage
https://github.com/openjdk/jdk/commit/124f82377ba93359bc59118ee315ba194080fa92#diff-c0c1e054162cdec17bb083da268cd96be49a43ae42541d5be3906bd97b924925L203
==========================
public int hashCode()
Returns the hash code value for this object identifier, _the object number_.
==========================
https://docs.oracle.com/en/java/javase/17/docs/api/java.rmi/java/rmi/server/ObjID.html#hashCode()
The changes done with
https://github.com/openjdk/jdk/commit/124f82377ba93359bc59118ee315ba194080fa92#diff-c0c1e054162cdec17bb083da268cd96be49a43ae42541d5be3906bd97b924925L203
- relates to
-
JDK-8268764 Use Long.hashCode() instead of int-cast where applicable
- Resolved