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

Sergey Bylokhov serb at openjdk.java.net
Tue Oct 26 02:17:17 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().

I think this one was missed due to the absence of the coverage in the jtreg test suite, and some people have no access to the jck to run it in advance.

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

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


More information about the core-libs-dev mailing list