[lworld] Integrated: 8294927: [lworld] LambdaMetafactory class should reject identity and value superinterface

Mandy Chung mchung at openjdk.org
Mon Oct 10 23:37:41 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.

This pull request has now been integrated.

Changeset: 14c71a4d
Author:    Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/14c71a4d6f26b41c641799e41685854755d9964e
Stats:     258 lines in 11 files changed: 251 ins; 0 del; 7 mod

8294927: [lworld] LambdaMetafactory class should reject identity and value superinterface

Reviewed-by: rriggs

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

PR: https://git.openjdk.org/valhalla/pull/783



More information about the valhalla-dev mailing list