JDK-8136790 : jigsaw @argfiles does not work after -addmods or -modulepath
  • Type: Bug
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 9-repo-jigsaw
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-09-19
  • Updated: 2015-09-19
  • Resolved: 2015-09-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9-repo-jigsawFixed
Related Reports
Relates :  
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.
Comments
Changeset: http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/cc51fbfc6390
19-09-2015

Henry, we need to fix this in both jake and 9-dev repo, ASAP.
19-09-2015