See pull/29414 for a summary of the changes to update the the jimage format to support modules that have classes compiled with preview feature enabled.
The changes in pull/29414 were developed by @david-beaumont. The PR was reviewed by @jerboaa, @coleenp and I. David is unable to continue the PR so I've pulled the commits into a new PR for integration. Testing: tier1-5, with and without --configure --enable-linkable-runtime. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Merge branch 'master' into JDK-8377070 - Merge branch 'master' into jimage_preview_mode - fix test failure in linkable image - update test with correct dep - Fix issue with resource lookup in ImageReader - Merge branch 'master' into jimage_preview_mode - High level test for preview mode - renaming based on feedback - Rename ModuleReference to ModuleLink - tweak comments - ... and 13 more: https://git.openjdk.org/jdk/compare/3c1af6b9...e806b246 Changes: https://git.openjdk.org/jdk/pull/31109/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31109&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8377070 Stats: 3365 lines in 39 files changed: 2318 ins; 589 del; 458 mod Patch: https://git.openjdk.org/jdk/pull/31109.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31109/head:pull/31109 PR: https://git.openjdk.org/jdk/pull/31109
