[lworld] RFR: 8370634: [lworld] super should not be allowed in compact constructors [v3]

Vicente Romero vromero at openjdk.org
Thu Dec 4 19:39:46 UTC 2025


> there is a bug in lworld and due to it javac accepts records with compact constructors that contain invocations to the super constructor. This is not allowed by the spec. This PR is fixing this issue,
> 
> TIA

Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:

  another test

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1770/files
  - new: https://git.openjdk.org/valhalla/pull/1770/files/a6c7a537..1ac8c5da

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=1770&range=02
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1770&range=01-02

  Stats: 11 lines in 1 file changed: 11 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/valhalla/pull/1770.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1770/head:pull/1770

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


More information about the valhalla-dev mailing list