RFR: 8357632: CDS test failures on static JDK
Jiangli Zhou
jiangli at openjdk.org
Mon Jun 9 16:11:03 UTC 2025
On Mon, 9 Jun 2025 04:43:34 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Please review the fix in CDSConfig::default_archive_path to form the default .jsa path using Arguments::get_java_home on static-jdk. It basically reverts to the previous code before JDK-8353504, but for static-jdk case only. The change does not affect how default .jsa path is handled on regular JDK.
>>
>> The PR removes the affected CDS tests from hotspot/jtreg/ProblemList-StaticJdk.txt.
>>
>> It adds '@requires !jdk.static' to runtime/cds/NonJVMVariantLocation.java to skip the test on static-jdk. NonJVMVariantLocation.java tests with VM variants specified in jvm.cfg, which is not processed on static-jdk.
>>
>> Testing:
>> Tested the affected tests locally on static-jdk.
>> https://github.com/jianglizhou/jdk/actions/runs/15312986693 is in progress.
>
> Seems reasonable.
>
> Thanks.
@dholmes-ora Thanks for the review!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25516#issuecomment-2956240660
More information about the hotspot-runtime-dev
mailing list