[lworld] RFR: 8271583: [lworld] primitive records can't be reference favoring

Jesper Steen Møller jespersm at openjdk.java.net
Tue Aug 17 23:59:51 UTC 2021


This patch lets the compiler pick up a record which can be primitive records and reference favoring, such as

primitive record Point.val(int x, int y) {}


The lowering had to be adjusted so that the correct receiver type is generated.

See https://bugs.openjdk.java.net/browse/JDK-8271583

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

Commit messages:
 - 8271583: [lworld] primitive records can't be reference favoring
 - 8271583: [lworld] primitive records can't be reference favoring

Changes: https://git.openjdk.java.net/valhalla/pull/533/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=533&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271583
  Stats: 57 lines in 3 files changed: 55 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/533.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/533/head:pull/533

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


More information about the valhalla-dev mailing list