RFR: 8360090: [TEST] RISC-V: disable some cds tests on qemu
    Robbin Ehn 
    rehn at openjdk.org
       
    Wed Jun 25 13:54:29 UTC 2025
    
    
  
On Fri, 20 Jun 2025 09:27:14 GMT, Hamlin Li <mli at openjdk.org> wrote:
> Hi,
> Can you help to review this patch?
> 
> CDS does not work well in cross compilation env, this is by desgin, please check `JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE` in make of jdk.
> 
> These tests depends on classes.jsa or classes_xxx.jsa which is not generated and will not be generated when build jdk in qemu environment for riscv, so we should disable them when qemu.
> 
> Thanks!
Hey, you can already disable them by adding "--disable-jvm-feature-cds" to your configure line.
As they have "@requires vm.cds" they are skipped. (exception is this test: https://bugs.openjdk.org/browse/JDK-8353034)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25913#issuecomment-3004862749
    
    
More information about the hotspot-runtime-dev
mailing list