[lworld] RFR: JDK-8271556: [lworld] java.lang.BootstrapMethodError in .equals() for primitive record
Roger Riggs
rriggs at openjdk.java.net
Tue Aug 17 18:45:39 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`.
LGTM
-------------
Marked as reviewed by rriggs (Committer).
PR: https://git.openjdk.java.net/valhalla/pull/528
More information about the valhalla-dev
mailing list