On Thu, 22 Oct 2026 09:59:53 GMT, Vicente Romero <[email protected]> wrote:
> Fix for [JDK-8271623](https://bugs.openjdk.org/browse/JDK-8271623) introduced > a sensible optimization: omitting the generation of enclosing instance fields > for classes not using it. We have decided not to apply this optimization to > value classes, as it could be problematic. See related discussion > [here](https://mail.openjdk.org/archives/list/[email protected]/thread/DROHHBNWIWPQZMJOWUNJGKMJO76MO4FS/) > > TIA > > > > > --------- > - [X] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 73ae24b9 Author: Vicente Romero <[email protected]> URL: https://git.openjdk.org/jdk/commit/73ae24b9ef52e12c53fb5aa6cc91fe1a61e09c72 Stats: 84 lines in 6 files changed: 65 ins; 2 del; 17 mod 8394667: Omitting enclosing instance fields in value classes can provoke undesirable effects Reviewed-by: jlahoda, mcimadamore, tschatzl ------------- PR: https://git.openjdk.org/jdk/pull/33507
