RFR: 8356702: CTW: Update modules

Evgeny Nikitin enikitin at openjdk.org
Mon May 12 06:08:28 UTC 2025


This PR enhances CTW test wrappers generator in order to make it more user-friendly. Added features are:

1. Automatic scanning for modules list under `open/src`
2. Automatic recognition of current year;
3. Multi-wrapper modules support (allows for splitting huge modules into 2 and more wrappers)
4. ability to exclude modules;

The updated generator have been used to refresh JTReg module wrappers.
The most meaningful change is contained in the `generate.bash`
Testing: `open/test/hotspot/jtreg/applications/ctw/modules` with the supported platforms, no failures spotted.

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

Commit messages:
 - Update modified wrappers
 - Add automatic year calculation
 - Add excluded modules
 - Add support for multi-part modules
 - Add optional scanning for modules
 - Extract generation into a function

Changes: https://git.openjdk.org/jdk/pull/25175/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25175&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8356702
  Stats: 117 lines in 68 files changed: 40 ins; 1 del; 76 mod
  Patch: https://git.openjdk.org/jdk/pull/25175.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25175/head:pull/25175

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


More information about the hotspot-compiler-dev mailing list