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

Add Option for user defined jlink options

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 15
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22

      Description

      With the implementation of JDK-8218055, jpackager calls jlink thru the tool provider when either packaging the current jre, or packaging an application using the current jre.
      This may be expanded in a future release to include when using other jres, by invoking the jlink in that jre.

      In any case, when invoking jlink the user should be able to specify any arbitrary jlink options.

      We have one specific jpackage option, --strip-native-commands that could be removed in favor of a more general syntax to allow user to specify things like: --limit-modules, and --bind-services

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: