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

create a new option --bind-services to pass on to jlink

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:

      Description

      Currently, when creating a runtime using jlink, jpackage adds the "--bind-services" option by default unless the --add-modules option is used.

      This change will add a --bind-services option to jpackage and otherwise remove that option from the default jlink options.

      feedback:
      The image for a trivial application is large because jlink tool is invoked with
      the `--bind-services` option. To avoid surprise I suggest that you
      not do that by default, and add a `--bind-services` option to
      jpackage that's just passed through to jlink (like `--add-modules`).
      That will make jpackage work in the same way as jlink in this regard,
      further reducing confusion.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick
              Reporter:
              herrick Andy Herrick
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: