[lworld] RFR: JDK-8251986: [lworld] implement Class::valueType and Class::referenceType in Java
hseigel at openjdk.java.net
Tue Aug 18 20:53:46 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.
The JVM changes look good.
More information about the valhalla-dev