RFR: 8345185: Some tests in test/jdk/tools/jpackage fail with a JDK without JMODs
Severin Gehwolf
sgehwolf at openjdk.org
Mon Dec 9 20:54:39 UTC 2024
On Mon, 9 Dec 2024 19:16:59 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:
> > You can create custom runtimes from it, just not include jdk.jlink in the output image that you generate.
>
> I understand "the output image" will not have jdk.jlink part. Does this mean there will be no "jlink" tool in "the output image"? I guess the answer is "yes".
If you start out with a JEP 493 enabled JDK, then any `jlink` run which includes the `jdk.jlink` modules (specified via `--add-modules` fails with the error presented in https://github.com/openjdk/jdk/pull/22644#issuecomment-2528986634). That doesn't mean that the JDK you are using to **generate** such an image doesn't include it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22644#issuecomment-2529422150
More information about the core-libs-dev
mailing list