Proposal: #CustomizableAutomaticModuleNameMapping

mark.reinhold at oracle.com mark.reinhold at oracle.com
Thu Jun 30 21:45:31 UTC 2016


2016/6/30 4:30:07 -0700, david.lloyd at redhat.com:
> On 06/29/2016 07:03 PM, mark.reinhold at oracle.com wrote:
>> 2016/6/29 8:08:40 -0700, david.lloyd at redhat.com:
>>> Could you please clarify how, after this change, an automatic module
>>> would be different from a regular module, from the perspective of any
>>> code which is using the descriptor Builder API?
>> 
>> The `isAutomatic()` method of an explicitly-built automatic
>> `ModuleDescriptor` instance will return `true`.
> 
> Yeah, I get that, but I mean when looking at the final built module.  I 
> assumed that to be implied since building the descriptor is useless if 
> you don't make a module out of it.  Are automatic modules substantially 
> different from regular modules in any way?  If not, is there a reason to 
> continue to have them?

http://openjdk.java.net/projects/jigsaw/spec/sotms/#automatic-modules

http://cr.openjdk.java.net/~mr/jigsaw/spec/api/java/lang/module/ModuleFinder.html#of-java.nio.file.Path...-

- Mark


More information about the jpms-spec-experts mailing list