RFR: 8311302: Implement JEP 493: Linking Run-Time Images without JMODs [v42]
Mandy Chung
mchung at openjdk.org
Fri Nov 1 18:05:45 UTC 2024
On Fri, 1 Nov 2024 01:26:44 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> I expect that the jmodless tests will first build an image (say `image1`) using jlink `--generate-linkable-runtime` option and then verify `image1/bin/jlink` that links from the run-time image. I don't see `--generate-linkable-runtime` option is used from jmodless tests. I looked at `AbstractLinkableRuntimeTest` which provides the support to create linkable runtime image but not obvious to me. Can you describe the idea of this test framework?
OK. I see this now (`@requires jlink.runtime.linkable` in all jmodless tests). I.e. No test for the default JDK build.
I think this feature needs test verification even for the default JDK build. One way to do that is to build a test image (say `base-image`) using jlink `--generate-linkable-runtime` option and then verify `base-image/bin/jlink` instead of the JDK.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14787#issuecomment-2452337769
More information about the core-libs-dev
mailing list