Do we need to open each file on the module path to find the enclosed name?

Peter Kriens peter.kriens at
Mon Sep 28 16:54:04 UTC 2015

The module path is defined as:

	`A module path is a sequence of directories containing module artifacts which are searched, in order, for the first artifact that defines a suitable module.`

This seems to indicate that the VM must iterate over all the directories (I assume not recursive?) and open the JARs to read the module-info.class file so that it knows the module name?  

This seems quite expensive for large systems?

More information about the jpms-spec-observers mailing list