> 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).
Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision: - Update BadCanonicalCtrTest - Merge branch 'lworld' of https://github.com/openjdk/valhalla into fix/lw-record-strict - Merge branch 'lworld' of https://github.com/openjdk/valhalla into fix/lw-record-strict - Enhance test to track early larval frame - Merge branch 'lworld' of https://github.com/openjdk/valhalla into fix/lw-record-strict - Mark record classfiles as preview minor if they use strict ------------- Changes: - all: https://git.openjdk.org/valhalla/pull/2643/files - new: https://git.openjdk.org/valhalla/pull/2643/files/d630139a..4a37b289 Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2643&range=01 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2643&range=00-01 Stats: 61 lines in 4 files changed: 44 ins; 4 del; 13 mod Patch: https://git.openjdk.org/valhalla/pull/2643.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2643/head:pull/2643 PR: https://git.openjdk.org/valhalla/pull/2643
