RFR: 8275293: A change done with JDK-8268764 mismatches the java.rmi.server.ObjID.hashCode spec

Сергей Цыпанов duke at openjdk.java.net
Fri Oct 15 12:45:51 UTC 2021


On Fri, 15 Oct 2021 11:43:53 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> It looks like we cannot use `Long.hashCode(long)` for `java.rmi.server.ObjID.hashCode()` due to specification: https://docs.oracle.com/en/java/javase/17/docs/api/java.rmi/java/rmi/server/ObjID.html#hashCode().
>
> It's important to be precise here: it's not "JavaDoc", it's the specification.

@pavelrappo you are right. I've reworded the description

-------------

PR: https://git.openjdk.java.net/jdk/pull/5963


More information about the core-libs-dev mailing list