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
    • 24
    • 24
    • tools
    • generic
    • generic

      Starting with JDK 24, the `jlink --add-modules ALL-MODULE-PATH` option will require users to set the module path via the `--module-path` option. Prior to JDK 24, using `--add-modules ALL-MODULE-PATH` without `--module-path` could 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 --module-path $JAVA_HOME/jmods` instead.

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

              Created:
              Updated:
              Resolved: