[lworld] RFR: 8294927: [lworld] LambdaMetafactory class should reject identity and value superinterface
Roger Riggs
rriggs at openjdk.org
Mon Oct 10 22:54:06 UTC 2022
On Sat, 8 Oct 2022 02:12:08 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> This PR adds the validation in LambdaMetafactory to reject if the return type of the given factory type is not an identity interface and not a value interface. This also fixes a bug in `Class::isIdentity` to return false for interfaces if Valhalla is not enabled.
Marked as reviewed by rriggs (Committer).
-------------
PR: https://git.openjdk.org/valhalla/pull/783
More information about the valhalla-dev
mailing list