RFR: 8275293: A change done with JDK-8268764 mismatches the java.rmi.server.ObjID.hashCode spec
Stuart Marks
smarks at openjdk.java.net
Tue Oct 26 02:13:18 UTC 2021
On Fri, 15 Oct 2021 07:17:52 GMT, Сергей Цыпанов <duke at openjdk.java.net> 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().
Oh yes, good point in general. In this case the problem was caught by the failure of a JCK test, so I don't think a separate regression test is necessary. I've added the `noreg-jck` label to the bug to indicate this.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5963
More information about the core-libs-dev
mailing list