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

Per Minborg pminborg at openjdk.org
Wed Jan 7 16:02:25 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 test

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

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

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

  Stats: 47 lines in 1 file changed: 47 ins; 0 del; 0 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