[lworld] Integrated: 8326862: [lworld] javac is rejecting value records

Vicente Romero vromero at openjdk.org
Tue Feb 27 18:45:07 UTC 2024


code like:

value record Point(int x, int y) {}


is being rejected by javac. `java.lang.Record` should be considered a value class.

TIA

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

Commit messages:
 - 8326862: [lworld] javac is rejecting value records

Changes: https://git.openjdk.org/valhalla/pull/1022/files
 Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1022&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8326862
  Stats: 6 lines in 3 files changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/valhalla/pull/1022.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1022/head:pull/1022

PR: https://git.openjdk.org/valhalla/pull/1022



More information about the valhalla-dev mailing list