RFR: 8360090: [TEST] RISC-V: disable some cds tests on qemu

Robbin Ehn rehn at openjdk.org
Tue Jul 1 19:29:20 UTC 2025


On Mon, 30 Jun 2025 23:10:22 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> You can add new property for your condition in VMProps, saying vm.cds.archive.available that is true is archive is generated for JDK. Since the classes.jsa is mandatory the property should check if classes.jsa exists and if current configuration allows to miss classes.jsa. You could start with adding risc+qemu as a first configuration with optional cds archive. Later it could be extended.
> 
> Alternatively you could just throw SkippedException in the tests, assuming that number of them is small. There is an example with isCOHArchiveAvailable() check.

We can probably figure that out in test/jtreg-ext/requires/VMProps.java, so we can use require tag for it.

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

PR Comment: https://git.openjdk.org/jdk/pull/25913#issuecomment-3022895401


More information about the hotspot-runtime-dev mailing list