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

jigsaw @argfiles does not work after -addmods or -modulepath

    XMLWordPrintable

Details

    Description

      The following command failed with:
          Error: Could not find or load main class @base_exports

      ${JDK9_HOME}/bin/java \
          \
          -modulepath lib:build/patches \
          \
          -addmods junit,hamcrest.core,javafx.base.test, \
          \
          @base_exports \
          \

      but works when the -modulepath and -addmods are moved into the @base_exports.

      Attachments

        Issue Links

          Activity

            People

              mchung Mandy Chung
              ddhill David Hill (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: