RFR: 8374796: CompressedOops versions of runtime/cds/TestDefaultArchiveLoading.java aren't run
Coleen Phillimore
coleenp at openjdk.org
Fri Jan 9 13:15:18 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.
Thanks for reviewing Stefan and Aleksey, and thanks for explaining the GHA failure. It seemed like an infra issue.
I'd have to upgrade this bug to backport to JDK 26, but I can do that.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29125#issuecomment-3728863415
More information about the hotspot-runtime-dev
mailing list