On Wed, 25 Feb 2026 21:27:08 GMT, Chen Liang <[email protected]> wrote:
> With Flexible Constructor Bodies, the preferred way to assign fields for > objects is to assign before making a super call. These are all sites in the > JDK code that can migrate to the new preferred pattern. This change also > allows these fields to be later declared ACC_STRICT_INIT when strict fields > JEP is integrated. This pull request has now been integrated. Changeset: 5e85d99c Author: Chen Liang <[email protected]> URL: https://git.openjdk.org/jdk/commit/5e85d99c360fa12042a42fb3ed8ceb50c733d7a0 Stats: 29 lines in 3 files changed: 10 ins; 12 del; 7 mod 8378715: Use early field initialization for java.lang.invoke generated code Reviewed-by: jvernee ------------- PR: https://git.openjdk.org/jdk/pull/29926
