On Thu, 8 Jan 2026 18:28:01 GMT, Dan Heidinga <[email protected]> wrote:

>> 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?

It asserts that a user-defined record can be annotated with 
`@AOTSafeClassInitializer`. This was not possible before.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29084#discussion_r2673455344

Reply via email to