Integrated: 8329112: Clean up CDS checking of unsupported module options

Ioi Lam iklam at openjdk.org
Fri Mar 29 16:04:36 UTC 2024


On Tue, 26 Mar 2024 16:38:44 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> - Renamed the functions to `check_unsupported_dumping_module_options()` and `has_unsupported_runtime_module_options()`, since their error messages are about VM options, not system properties.
> - Consolidated the search of unsupported properties into a helper function.
> - Removed obsolete code/comment in classLoader.cpp that suggests that `--patch-module` is allowed during dumping. Replace with an assertion that forbids patching when dumping.

This pull request has now been integrated.

Changeset: 5b05f8e0
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5b05f8e0c459d879b302728ce89c2012d198faec
Stats:     64 lines in 4 files changed: 16 ins; 15 del; 33 mod

8329112: Clean up CDS checking of unsupported module options

Reviewed-by: ccheung, matsaave

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

PR: https://git.openjdk.org/jdk/pull/18492


More information about the hotspot-runtime-dev mailing list