[lworld] RFR: 8244231: [lworld] Add support for ref-default and val-default inline classes.

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Jul 22 10:09:07 UTC 2021


On Thu, 22 Jul 2021 07:47:48 GMT, Srikanth Adayapalam <sadayapalam at openjdk.org> wrote:

> when we have a type that is an L_TypeOf_Q it could be
> either the (a) reference projection of value default primitive class or (b) the reference type of a reference default primitive class.

This seems at odds with what the Javadoc for that flavor says:


/**
             * Reference projection type of a primitive-favoring aka primitive-default
             * plain vanilla primitive class type,
             */
            L_TypeOf_Q,


E.g. javadoc suggests that Q means primitive-default already, so there should be no need to check the tsym?

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

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



More information about the valhalla-dev mailing list