[jdk25u-dev] RFR: 8377932: AOT cache is not rejected when JAR file has changed
María Arias de Reyna Domínguez
duke at openjdk.org
Tue Feb 24 09:26:09 UTC 2026
On Tue, 24 Feb 2026 09:14:13 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.
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/307#issuecomment-3950279118
More information about the jdk-updates-dev
mailing list