Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8345259 Disallow ALL-MODULE-PATH without explicit --module-path
  3. JDK-8346718

Release Note: jlink --add-modules ALL-MODULE-PATH requires explicit --module-path argument

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P3 P3
    • 25
    • 24, 25
    • tools
    • generic
    • generic

      Starting with JDK 24, `jlink --add-modules ALL-MODULE-PATH` option will require users
      to set the module path via `--module-path` option. Prior to JDK 24,
      `--add-modules ALL-MODULE-PATH` without `--module-path` can be used to create
      an image with all JDK modules from `$JAVA_HOME/jmods`. In JDK 24, to create an image
      using `ALL-MODULE-PATH`, it is required to explicitly set `--module-path`.
      To create an image with all JDK modules, use
       `jlink --add-modules ALL-MODULE-PATH --add-modules $JAVA_HOME/jmods` instead.

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

              Created:
              Updated:
              Resolved: