[lworld] RFR: 8328683: [lworld] CDS tests fail because "CDS is disabled when java.base module is patched"

Matias Saavedra Silva matsaave at openjdk.org
Mon Jul 29 17:54:55 UTC 2024


The following tests were reporting failures:
runtime/cds/appcds/HelloInlineClassTest.java
runtime/cds/appcds/RewriteBytecodesInlineTest.java
runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java
runtime/cds/appcds/dynamicArchive/HelloDynamicInlineClass.java 
runtime/cds/DeterministicDump.java

Currently, all the above tests are no longer problem listed and only DeterministicDump.java was reporting a failure with `--enable-preview`. This patch once again makes CDS archives deterministic. Related tests were verified locally and the fix was verified with tier1-5 tests.

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

Commit messages:
 - 8328683: [lworld] CDS tests fail because "CDS is disabled when java.base module is patched"

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

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


More information about the valhalla-dev mailing list