RFR: 8329112: Clean up CDS checking of unsupported module options [v3]

Ioi Lam iklam at openjdk.org
Thu Mar 28 16:17:00 UTC 2024


> - 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.

Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:

 - Merge branch 'master' into 8329112-clean-up-cds-checking-of-unsupported-module-options
 - @calvinccheung review comments
 - 8329112: Clean up CDS checking of unsupported module options

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

Changes: https://git.openjdk.org/jdk/pull/18492/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18492&range=02
  Stats: 64 lines in 4 files changed: 16 ins; 15 del; 33 mod
  Patch: https://git.openjdk.org/jdk/pull/18492.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18492/head:pull/18492

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


More information about the hotspot-runtime-dev mailing list