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

Joseph D. Darcy joe.darcy at oracle.com
Tue Oct 26 15:35:57 UTC 2021


It is a non-goal to replicate all of the JCK test coverage in the 
regression test suite.

-Joe

On 10/25/2021 7:17 PM, Sergey Bylokhov wrote:
> 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