JEP 447, Statements before super(...) (Preview), has been delivered for JDK 22 after its review concluded. This JEP, which is part of Project Amber, aims to allow statements before super() calls in constructors without referencing an instance being created while still maintaining the safety and initialization guarantees for constructors.
https://www.infoq.com/news/2024/01/java-constructors-enhancement/
JEP 447: Refining Java Constructors for Enhanced Flexibility
After its review concluded, JEP 447, Statements before super(...) (Preview), was delivered for JDK 22. This JEP, under Project Amber, proposes to allow statements that do not reference an instance being created to appear before super() calls in a constructor and preserve existing safety and initialization guarantees for constructors.
