On Tue, 11 Nov 2025 17:56:18 GMT, Severin Gehwolf <[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. 
However, the bigger topic of testing the cross-linking scenario isn't really 
something we can do in a jtreg test. Instead it is something for "special 
testing", like the manual tests, as it needs builds from different platforms.

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

PR Comment: https://git.openjdk.org/jdk/pull/28155#issuecomment-3602889964

Reply via email to