RFR: 8347831: Re-examine version check when cross linking [v5]
Severin Gehwolf
sgehwolf at openjdk.org
Tue Dec 2 18:15:04 UTC 2025
On Tue, 2 Dec 2025 16:20:49 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> > I think this can be tested akin to `JLinkOptionsTest` by implementing a simple plugin that transforms the `release.txt` resource and uses `--keep-packaged-modules` and then attempts to perform a link on the resulting image. Similarly we could cover the case of `release.txt` missing by using the `--exclude-resources` plugin.
>
> Maybe we should have a follow-up issue to attempt to create a test for this.
That's OK with me. Creating jtreg tests verifying that it fails if the file doesn't match/does not exist can still be done.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28155#issuecomment-3603351075
More information about the core-libs-dev
mailing list