On Tue, 14 Jul 2026 22:12:18 GMT, Chen Liang <[email protected]> wrote:

> We should mark record classes as using preview VM features if they use 
> strictly-initialized fields or early larval frames.
> 
> Maurizio considered this to be P2 given the spec violations, especially with 
> the spurious early larval frames in the class files.
> 
> ---------
> - [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: 53b4a9e1
Author:    Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/53b4a9e1c8f35fc98f6b11dad27a62082bd04d68
Stats:     119 lines in 4 files changed: 113 ins; 3 del; 3 mod

8388261: [lworld] javac creates early_larval_frame and ACC_STRICT_INIT in 
record non-preview class files

Co-authored-by: Vicente Romero <[email protected]>
Reviewed-by: vromero, mcimadamore

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

PR: https://git.openjdk.org/valhalla/pull/2643

Reply via email to