[lworld] RFR: 8273301: [lworld] Bootstrap of instance-capturing lambda fails for reference favoring primitive types.
Mandy Chung
mchung at openjdk.java.net
Thu Sep 16 01:06:25 UTC 2021
On Thu, 2 Sep 2021 20:10:36 GMT, Jesper Steen Møller <jespersm at openjdk.org> wrote:
> Fix the test by adjusting bootstrap parameters, like it was fixed in JDK-8271583.
A reference to a primitive object can be converted to a primitive value and vice versa. So I think the runtime should allow the receiver type of `factoryType` is a primitive reference type whereas the implementation type is a primitive value type of the same primitive class.
-------------
PR: https://git.openjdk.java.net/valhalla/pull/545
More information about the valhalla-dev
mailing list