> Introduce a `PathResolution` to `ExplodedImage` to remove a lot of ad-hoc > treatments of preview path discovery. Also some general comments and test > additions. > > One interesting thing is the mainline jimage is not mapping > `META-INF/preview/file` to `file` when preview is enabled; it does map > `META-INF/preview/dir/file` to `dir/file`. Don't know if this is intended; > exploded image performs the first mapping, which differs from jimage. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision: - Review remarks - Merge branch 'lworld' of https://github.com/openjdk/valhalla into cleanup/lw-jrtfs - Cleanup ExplodedImage and enhance SystemImageTest ------------- Changes: - all: https://git.openjdk.org/valhalla/pull/2545/files - new: https://git.openjdk.org/valhalla/pull/2545/files/9a21eb28..f125cb37 Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2545&range=01 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2545&range=00-01 Stats: 53304 lines in 240 files changed: 51466 ins; 975 del; 863 mod Patch: https://git.openjdk.org/valhalla/pull/2545.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2545/head:pull/2545 PR: https://git.openjdk.org/valhalla/pull/2545
