Integrated: 8357632: CDS test failures on static JDK
Jiangli Zhou
jiangli at openjdk.org
Mon Jun 9 16:11:03 UTC 2025
On Thu, 29 May 2025 00:24:40 GMT, Jiangli Zhou <jiangli 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.
This pull request has now been integrated.
Changeset: cae1fd33
Author: Jiangli Zhou <jiangli at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/cae1fd3385e0635beeac34a2287627e556155783
Stats: 31 lines in 3 files changed: 17 ins; 13 del; 1 mod
8357632: CDS test failures on static JDK
Reviewed-by: ccheung, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/25516
More information about the hotspot-runtime-dev
mailing list