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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • internal
    • internal
    • tools

      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.

            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: