On Wed, 7 Jan 2026 16:02:25 GMT, Per Minborg <[email protected]> wrote:
>> 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
test/jdk/java/lang/Record/SafeClassInitializerTest.java line 44:
> 42: @Test
> 43: void printlnNoParamsTest() {
> 44: new MyRecord(-1);
I don't understand what this is testing as I don't see an AOT cache being built
anywhere. What I am I missing?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29084#discussion_r2673421287