[lworld] RFR: JDK-8272397: [lworld] Move ValueBootstrapMethods to java.lang.runtime

Roger Riggs rriggs at openjdk.java.net
Tue Aug 17 18:34:36 UTC 2021


On Thu, 12 Aug 2021 21:36:05 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> `ValueBootstrapMethods` is the default implementation of `Object::equals` and `Object::hashCode`
> for primitive class. It does not belong to java.lang.invoke. java.lang.runtime is a more
> appropriate home.  It can also share the code in `ObjectMethods`.
> 
> The methods are now renamed to `java.lang.runtime.PrimitiveObjectMethods::isSubtitutable`
> and `primitiveObjectHashCode`.

LGTM

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

Marked as reviewed by rriggs (Committer).

PR: https://git.openjdk.java.net/valhalla/pull/529


More information about the valhalla-dev mailing list