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

Frederic Parain fparain at openjdk.java.net
Tue Aug 17 17:36:41 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`.

HotSpot changes look good.



Marked as reviewed by fparain (Committer).

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

More information about the valhalla-dev mailing list