[lworld] Integrated: JDK-8251986: [lworld] implement Class::valueType and Class::referenceType in Java

Mandy Chung mchung at openjdk.java.net
Thu Aug 20 20:24:48 UTC 2020

On Tue, 18 Aug 2020 19:47:36 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> Now that javac generates the reference projection class as a sealed type,
> this patch reimplements  `Class::valueType` and `Class::referenceType` in Java.
> VM no longer has any knowledge of the value projection type and reference projection type.
> This patch includes a temporary workaround to disable the preview feature check
> for sealed types because inline types are not (yet) a preview feature in valhalla repo.
> This workaround should be removed when it's time to make inline class a preview feature.

This pull request has now been integrated.

Changeset: a5aa3a9d
Author:    Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/a5aa3a9d
Stats:     209 lines in 5 files changed: 54 ins; 135 del; 20 mod

8251986: [lworld] implement Class::valueType and Class::referenceType in Java

Reviewed-by: rriggs


PR: https://git.openjdk.java.net/valhalla/pull/152

More information about the valhalla-dev mailing list