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

Vicente Romero vromero at openjdk.org
Thu Dec 4 22:26:06 UTC 2025


On Thu, 4 Dec 2025 18:31:23 GMT, Vicente Romero <vromero at openjdk.org> 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

This pull request has now been integrated.

Changeset: 36f43f74
Author:    Vicente Romero <vromero at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/36f43f74f2d714b3188fc8cc833dd2e41a268720
Stats:     36 lines in 2 files changed: 35 ins; 0 del; 1 mod

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

Reviewed-by: liach

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

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


More information about the valhalla-dev mailing list