Fields of identity records are generated with the ACC_STRICT_INIT flag but the class file corresponding to the record is not marked as using preview features. This bug is fixed in this PR,
TIA ------------- Commit messages: - Merge branch 'lworld' into JDK-8380322 - 8380322: [lworld] Identity records use preview feature Changes: https://git.openjdk.org/valhalla/pull/2302/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2302&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8380322 Stats: 42 lines in 6 files changed: 41 ins; 0 del; 1 mod Patch: https://git.openjdk.org/valhalla/pull/2302.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2302/head:pull/2302 PR: https://git.openjdk.org/valhalla/pull/2302
