[jdk25u-dev] RFR: 8377932: AOT cache is not rejected when JAR file has changed
Goetz Lindenmaier
goetz at openjdk.org
Fri Feb 27 19:06:36 UTC 2026
On Tue, 24 Feb 2026 09:21:05 GMT, María Arias de Reyna Domínguez <duke at openjdk.org> wrote:
>> Backport for https://bugs.openjdk.org/browse/JDK-8377932
>> Fixes JDK-8377932: AOT cache is not rejected when JAR file has changed
>> Original commit: 3a09cbd28df36ca85d69583ac37058fa2f1ff5f3
>>
>> Relates to https://github.com/openjdk/jdk/pull/29728
>>
>>> *About the fix:*
>>>
>>> The bug is that _max_used_index was incorrectly set to zero in the AOT cache. As a result, we don't check any JAR files in the classpath.
>>>
>>> The fix is to propagate the value that we recorded in the AOR configuration file (in runtime()->_max_used_index) into the final AOT cache.
>
> @iklam here is the backport of your PR, in case you want to track it.
Hi @Delawen
please backport to 26 first. Then you can request /approval again. Please give a more verbose comment, see also section 6 at https://wiki.openjdk.org/spaces/JDKUpdates/pages/42598906/How+to+contribute+or+backport+a+fix
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/307#issuecomment-3974578401
More information about the jdk-updates-dev
mailing list