RFR: 8368182: AOT cache creation fails with class defined by JNI [v2]
Ioi Lam
iklam at openjdk.org
Tue Sep 23 21:53:48 UTC 2025
On Tue, 23 Sep 2025 06:32:50 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> I copied the code from here. Is this style OK for jtreg tests?
>>
>> https://github.com/openjdk/jdk/blob/61c5245bf7d6626b0c816612adcb0d94d6863644/test/hotspot/jtreg/vmTestbase/gc/g1/unloading/libdefine.cpp#L44-L52
>
> I don't know if that one passes `-Xcheck:jni` either (I think we only run runtime tests with `-Xcheck:jni`), so please check else it may fail in tier4. Thanks
I ran the new test with `-Xcheck:jni` and it passed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27412#discussion_r2373527367
More information about the hotspot-runtime-dev
mailing list