[lworld] Integrated: JDK-8271556: [lworld] java.lang.BootstrapMethodError in .equals() for primitive record

Mandy Chung mchung at openjdk.java.net
Tue Aug 17 20:33:48 UTC 2021


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

> We want the default choice is to use the primary L-type mirror and only
> when there is a contextual need to make a distinction, the Q-type mirror will be an option.
> 
> The proposal is to always pass the primary mirror to the `recordClass` argument
> and adjust the bootstrap code to drive method handle creation off of the primitive
> value type of the record class instead of `recordClass`, using `recordClass` only
> for getting the class name for `toString`.

This pull request has now been integrated.

Changeset: ad20c66f
Author:    Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/ad20c66f6664b89a0bf0ef2177d91739fdb0d014
Stats:     222 lines in 4 files changed: 211 ins; 0 del; 11 mod

8271556: [lworld] java.lang.BootstrapMethodError in .equals() for primitive record

Reviewed-by: rriggs

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

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


More information about the valhalla-dev mailing list