[lworld] RFR: 8374959: [lworld] runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.java fails with --enable-preview

Matias Saavedra Silva matsaave at openjdk.org
Tue Jan 27 17:44:49 UTC 2026


One of the test cases in `CheckIntegerCacheApp.java` will fail in preview mode due to the removal of the Integer cache and the behavior of value classes. This test case is now only run in preview mode with an alternate case to verify the preview mode behavior.

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

Commit messages:
 - Revert test
 - 8374959: [lworld] runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.java fails with --enable-preview

Changes: https://git.openjdk.org/valhalla/pull/1983/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1983&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8374959
  Stats: 18 lines in 2 files changed: 8 ins; 4 del; 6 mod
  Patch: https://git.openjdk.org/valhalla/pull/1983.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1983/head:pull/1983

PR: https://git.openjdk.org/valhalla/pull/1983


More information about the valhalla-dev mailing list