On Tue, 2 Dec 2025 16:20:49 GMT, Alan Bateman <[email protected]> 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

Reply via email to