RFE support jar as modulepath argument

Robert Scholte rfscholte at apache.org
Mon Dec 7 20:04:45 UTC 2015

Hi Mark,

I wasn't aware of this request, simply because I assumed that classpath  
and modulepath would allow similar arguments. Main difference: in case of  
a modulepath the module-info is used if available otherwise it is  
considered a auto module. When using classpath arguments, the module-info  
is ignored here.

We did however talk about auto recognition of modules, because for the  
end-users it shouldn't matter if the jar is a module or not. For them it  
is just another dependency.
My current focus is on javac and it seems like I don't need it here yet.


Op Fri, 04 Dec 2015 01:32:56 +0100 schreef <mark.reinhold at oracle.com>:

> 2015/12/3 11:49 -0800, rfscholte at apache.org:
>> On behalf of the Apache Maven team I'm working on the Plexus Compiler[1]
>> to support compilation of modules and I'm struggling with the
>> specification of the modulepath.
>> ...
>> To ensure that exactly the dependencies as specified in the pom.xml are
>> used (not more or less) without the need to copy files it would be my  
>> wish
>> to have -mp also support (jar)-files.
> Thanks for the reminder about this.  As I may have mentioned to you when
> we spoke at JavaOne, several tool maintainers have made this request.
> RFE created: https://bugs.openjdk.java.net/browse/JDK-8144665
> - Mark

More information about the jigsaw-dev mailing list