[lworld] Integrated: 8358777: [lworld] Allow explicit super invocation in canonical constructors
Vicente Romero
vromero at openjdk.org
Wed Jun 11 21:35:40 UTC 2025
On Tue, 10 Jun 2025 17:02:31 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> This is the implementation of section `Record class constructors` of JEP 401, see [1]. This PR allows a normal canonical constructor for a record class to contain an explicit 'super()' call, expressing an explicit division between early and late construction. Same applies to identity record classes
>
> [1] https://bugs.openjdk.org/browse/JDK-8317277
>
> Note: this PR depends on flexible constructor bodies, given that the change that makes it a final feature is not merged in lworld yet I will wait for that to happen to do a merge and then push this fix
This pull request has now been integrated.
Changeset: 658a8d28
Author: Vicente Romero <vromero at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/658a8d287f5a897b01754598a6d06d55d2769e91
Stats: 52 lines in 7 files changed: 29 ins; 5 del; 18 mod
8358777: [lworld] Allow explicit super invocation in canonical constructors
Reviewed-by: liach
-------------
PR: https://git.openjdk.org/valhalla/pull/1483
More information about the valhalla-dev
mailing list