Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8153038

The set of jlink plugins enabled by default should be the same via CLI or jlink API

XMLWordPrintable

    • b147
    • Not verified

      packager uses jlink API to create an image from a given modulepath and root modules.

      --installed-modules plugin is enabled by default and there is no option to disable it.

      Packager has to explicitly include this plugin in their implementation; otherwise it fails to create the image:
       plugins.add(Jlink.newPlugin("installed-modules", Collections.emptyMap(), null));

      The default set of the plugins running via jlink command-line should be the same as running it programmatically. It seems that the current implementation has no plugin selected if called via jlink API. This should be revisited.

            sundar Sundararajan Athijegannathan
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: