RFR: 8374155: Add @AOTSafeClassInitializer to Record [v3]

Per Minborg pminborg at openjdk.org
Fri Jan 9 12:35:28 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

Per Minborg has updated the pull request incrementally with one additional commit since the last revision:

  Add a real test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29084/files
  - new: https://git.openjdk.org/jdk/pull/29084/files/cdb2a594..898e1e41

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29084&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29084&range=01-02

  Stats: 81 lines in 2 files changed: 32 ins; 47 del; 2 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