RFR: 8374796: CompressedOops versions of runtime/cds/TestDefaultArchiveLoading.java aren't run

Aleksey Shipilev shade at openjdk.org
Fri Jan 9 10:48:31 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 to be a regression from [JDK-8365932](https://bugs.openjdk.org/browse/JDK-8365932), pull this into JDK 26 as well, please.

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

PR Comment: https://git.openjdk.org/jdk/pull/29125#issuecomment-3728382466


More information about the hotspot-runtime-dev mailing list