[jdk21u-dev] RFR: 8343019: Primitive caches must use boxed instances from the archive

duke duke at openjdk.org
Mon Mar 31 18:37:22 UTC 2025


On Sat, 15 Mar 2025 05:09:16 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

> Backporting JDK-8343019: Primitive caches must use boxed instances from the archive. Fixes bug with code that uses CDS archived cache instances, since the boxed equality can break when comparing the CDS-archived value and the Integer cached value recreated at runtime, in cases when the primitive cache is dropped. Ran GHA Sanity Checks, and local Tier 1, and Tier 2 tests. Patch is clean.

@satyenme 
Your change (at version da2724a140f6c5441bb6ecb020460e39d28aac00) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1497#issuecomment-2767079627


More information about the jdk-updates-dev mailing list