RFR: 8374155: Add @AOTSafeClassInitializer to Record
Per Minborg
pminborg at openjdk.org
Wed Jan 7 14:51:22 UTC 2026
This PR proposes to add the `@AOTSafeClassInitializer` annotation to the `Record` class. This allows user-created records to be annotated with `AOTSafeClassInitializer`.
On multiple platforms, tested and passed:
- [x] tier1
- [x] tier2
- [x] tier3
Not tested:
- [ ] tier4
- [ ] tier5
- [ ] tier6
-------------
Commit messages:
- Annotate Record with AOTSafeClassInitializer
Changes: https://git.openjdk.org/jdk/pull/29084/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29084&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8374155
Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/29084.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29084/head:pull/29084
PR: https://git.openjdk.org/jdk/pull/29084
More information about the core-libs-dev
mailing list