On Fri, 15 Oct 2021 07:17:52 GMT, Сергей Цыпанов <d...@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

Reply via email to