RFR: 8361328: cds/appcds/dynamicArchive/TestAutoCreateSharedArchive.java archive timestamps comparison failed

Calvin Cheung ccheung at openjdk.org
Thu Jul 10 20:03:28 UTC 2025


This test failure is intermittent and only seen with Windows non-debug build in 21u testing. It is due to the test is comparing the timestamp of a CDS archive with the timestamp of an archive which was generated in a previous test scenario.

Fixing it in mainline and then backport to 25 and 21u.

Testing: tested on Windows non-debug build with JDK 21u.

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

Commit messages:
 - 8361328: cds/appcds/dynamicArchive/TestAutoCreateSharedArchive.java archive timestamps comparison failed

Changes: https://git.openjdk.org/jdk/pull/26250/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26250&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8361328
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/26250.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26250/head:pull/26250

PR: https://git.openjdk.org/jdk/pull/26250


More information about the hotspot-runtime-dev mailing list