On Thu, 4 Dec 2025 18:31:23 GMT, Vicente Romero <[email protected]> wrote:

> 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

I recommend adding a positive test to ensure a normal canonical constructor of 
a record can call super as well.

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

Marked as reviewed by liach (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/1770#pullrequestreview-3541648349

Reply via email to