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

remove the --limit-modules option

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: internal
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None

      Description

      With:

      jpackage create-image \
          --input out/artifacts \
          --output out \
          --limit-modules java.base \
          --main-jar Jpackager-Hello-jar/Jpackager-Hello.jar \
          --class Main

      The resulting image does not limit the modules to java.base.

      Running out/Main/runtime/bin/java --list-modules shows all the JDK modules. There is no documentation that says what is limited or that it does not apply to the predefined java runtime.


        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: