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

Mandy Chung mchung at openjdk.java.net
Tue Aug 17 22:30:47 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`.

This pull request has now been integrated.

Changeset: 9c2af854
Author:    Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/9c2af854deb759d4b7879191d7ff5807bf679e32
Stats:     1231 lines in 18 files changed: 495 ins; 702 del; 34 mod

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

Reviewed-by: fparain, rriggs

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

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


More information about the valhalla-dev mailing list