Specifying module paths
Jonathan Gibbons
jonathan.gibbons at oracle.com
Thu Jan 14 22:45:32 UTC 2016
On 01/14/2016 12:25 PM, ecki at zusammenkunft.net wrote:
> Hello,
>
> If I understood it correctly the modules on the MP must be unique and are not merged, thats why the order inside the directory does not matter for the named modules.
>
> Bernd
>
Let me refine that for you ...
The modules in each directory on the module path must be unique. A
module with a specific name in a directory on the module path will
shadow (hide) any other module with the same name in a later directory
on the path.
So, the order of directories on the module path matters (just like the
order of entries on a class path matters), but the "order" of entries
within any specific directory on the module path does not matter.
-- Jon
More information about the jigsaw-dev
mailing list