[lworld] RFR: JDK-8244314 [lworld] V.ref and V.val are supposed to be nest mates
Jim Laskey
jlaskey at openjdk.java.net
Wed Jul 29 17:36:32 UTC 2020
- 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").
-------------
Commit messages:
- JDK-8244314 [lworld] V.ref and V.val are supposed to be nest mates
Changes: https://git.openjdk.java.net/valhalla/pull/124/files
Webrev: https://webrevs.openjdk.java.net/valhalla/124/webrev.00
Issue: https://bugs.openjdk.java.net/browse/JDK-8244314
Stats: 85 lines in 2 files changed: 72 ins; 2 del; 11 mod
Patch: https://git.openjdk.java.net/valhalla/pull/124.diff
Fetch: git fetch https://git.openjdk.java.net/valhalla pull/124/head:pull/124
PR: https://git.openjdk.java.net/valhalla/pull/124
More information about the valhalla-dev
mailing list