[lworld] RFR: JDK-8244314 [lworld] V.ref and V.val are supposed to be nest mates

Srikanth Adayapalam sadayapalam at openjdk.java.net
Mon Aug 3 05:20:04 UTC 2020


On Wed, 29 Jul 2020 17:17:13 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

> - Reworked nest list to use LinkedHashSet (had unnecessary step.)
> - Only attempt to add nested members if set is non-empty.
> - If top level and an inline class don't use as host, use referenceProjection instead.
> - If top level and an inline class do add as a nest member.
> 
> Test ensures that the correct host (Point$ref)  is selected and that nest members are exactly just Point$val ("Point").

Looks good, Thanks Jim!

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

Marked as reviewed by sadayapalam (Committer).

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


More information about the valhalla-dev mailing list