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:08: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().
Just a suggestion, it is always a good thing to add a jtreg test case, especially if it is regression.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5963
More information about the core-libs-dev
mailing list