RFR: 8374796: CompressedOops versions of runtime/cds/TestDefaultArchiveLoading.java aren't run
Stefan Karlsson
stefank at openjdk.org
Fri Jan 9 08:31:19 UTC 2026
On Thu, 8 Jan 2026 19:44:27 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> 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.
Looks good and trivial.
-------------
Marked as reviewed by stefank (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29125#pullrequestreview-3642885408
More information about the hotspot-runtime-dev
mailing list