RFR: 8344703: Compiler Implementation for Flexible Constructor Bodies

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Apr 8 11:36:36 UTC 2025


This PR finalizes the Flexible Constructor Bodies feature with no semantics changes.
The main changes in this PR have to do with the various tests, which needed tweaking (e.g. to drop `@enablePreview` and fix corresponding golden files).

We might, later on, incorporate a fix for [this issue](https://bugs.openjdk.org/browse/JDK-8349754) into this PR, depending on where the specification for this feature lands.

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

Commit messages:
 - Initial push

Changes: https://git.openjdk.org/jdk/pull/24505/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24505&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8344703
  Stats: 137 lines in 39 files changed: 1 ins; 39 del; 97 mod
  Patch: https://git.openjdk.org/jdk/pull/24505.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24505/head:pull/24505

PR: https://git.openjdk.org/jdk/pull/24505


More information about the compiler-dev mailing list