<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div>Dear experts,</div>
<div><br>
</div>
<div>The first draft of a spec covering JEP 513 (Flexible Constructor Bodies) is available at:</div>
<div><br>
</div>
<div><a href="https://cr.openjdk.org/~gbierman/jep513/latest/">https://cr.openjdk.org/~gbierman/jep513/latest/</a><br>
</div>
<div><br>
</div>
<div>Feel free to contact me directly or on this list with any comments/corrections.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Gavin</div>
<div><br>
<blockquote type="cite">
<div>On 22 Apr 2025, at 13:02, Mark Reinhold <mark.reinhold@oracle.com> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div>https://openjdk.org/jeps/513<br>
<br>
Summary: In the body of a constructor, allow statements to appear<br>
before an explicit constructor invocation, i.e., super(...) or<br>
this(...). Such statements cannot reference the object under<br>
construction, but they can initialize its fields and perform other safe<br>
computations. This change allows many constructors to be expressed<br>
more naturally. It also allows fields to be initialized before they<br>
become visible to other code in the class, such as methods called from<br>
a superclass constructor, thereby improving safety.<br>
<br>
- Mark</div>
</div>
</blockquote>
</div>
<br>
</body>
</html>