[lworld] RFR: JDK-8251986: [lworld] implement Class::valueType and Class::referenceType in Java [v5]
Roger Riggs
rriggs at openjdk.java.net
Thu Aug 20 20:21:41 UTC 2020
On Thu, 20 Aug 2020 19:44:59 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.
>
> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
>
> improve getProjectionTypes per Roger's suggestion
Marked as reviewed by rriggs (Committer).
-------------
PR: https://git.openjdk.java.net/valhalla/pull/152
More information about the valhalla-dev
mailing list