RFR: 8347831: Re-examine version check when cross linking [v5]

Alan Bateman alanb at openjdk.org
Tue Dec 2 16:23:53 UTC 2025


On Tue, 11 Nov 2025 17:56:18 GMT, Severin Gehwolf <sgehwolf 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. 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


More information about the core-libs-dev mailing list