[lworld] RFR: JDK-8271556: [lworld] java.lang.BootstrapMethodError in .equals() for primitive record
Mandy Chung
mchung at openjdk.java.net
Thu Aug 12 18:11:54 UTC 2021
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`.
-------------
Commit messages:
- JDK-8271556: [lworld] java.lang.BootstrapMethodError in .equals() for primitive record
Changes: https://git.openjdk.java.net/valhalla/pull/528/files
Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=528&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8271556
Stats: 222 lines in 4 files changed: 211 ins; 0 del; 11 mod
Patch: https://git.openjdk.java.net/valhalla/pull/528.diff
Fetch: git fetch https://git.openjdk.java.net/valhalla pull/528/head:pull/528
PR: https://git.openjdk.java.net/valhalla/pull/528
More information about the valhalla-dev
mailing list