[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:08 UTC 2026
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.
-------------
Commit messages:
- Backport 3a09cbd28df36ca85d69583ac37058fa2f1ff5f3
Changes: https://git.openjdk.org/jdk25u-dev/pull/307/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=307&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8377932
Stats: 120 lines in 2 files changed: 118 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk25u-dev/pull/307.diff
Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/307/head:pull/307
PR: https://git.openjdk.org/jdk25u-dev/pull/307
More information about the jdk-updates-dev
mailing list