RFR: 8374796: CompressedOops versions of runtime/cds/TestDefaultArchiveLoading.java aren't run
Coleen Phillimore
coleenp at openjdk.org
Thu Jan 8 19:50:35 UTC 2026
This simple change from
@requires !vm.gc.Z
to
@requires vm.gc != "Z"
Makes the two coops version of this test run and not get:
Test results: passed: 2; did not meet platform requirements: 2
Neither of these enables the test to run.
@requires vm.gc.Z == false
or
@requires vm.opt.final.UseZGC == false
This could be a bug in jtreg-ext/requires/VMProps.java support but I was unable to find that.
Tested with the test.
-------------
Commit messages:
- 8374796: CompressedOops versions of runtime/cds/TestDefaultArchiveLoading.java aren't run
Changes: https://git.openjdk.org/jdk/pull/29125/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29125&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8374796
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/29125.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29125/head:pull/29125
PR: https://git.openjdk.org/jdk/pull/29125
More information about the hotspot-runtime-dev
mailing list