Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8345185 Update jpackage to not include service bindings by default
  3. JDK-8347535

Release Note: jpackage No Longer Includes Service Bindings by Default for Generated Run-Time Images

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 25
    • 24.0.2, 25
    • tools
    • generic
    • generic

        Starting with JDK 25, `jpackage` will no longer include service bindings for a run-time image that it creates. Prior to JDK 25, `jpackage` would include service bindings for run-time images. As a result, the generated run-time images produced by `jpackage` might not include the same set of modules as it did in prior versions.

        The previous behavior can be achieved with `jpackage` of JDK 25 by adding the `--bind-services` `jlink` option to the default `jlink` options `jpackage` uses:

        ```
        jpackage [...] --jlink-options \
           "--strip-native-commands --strip-debug --no-man-pages --no-header-files --bind-services"
        ```

              sgehwolf Severin Gehwolf
              sgehwolf Severin Gehwolf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: