More jigsaw spec clarifications

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Jan 23 12:25:05 PST 2012


On 01/23/2012 12:00 PM, Alex Buckley wrote:
> On 1/23/2012 11:55 AM, Jonathan Gibbons wrote:
>> Presumably, "it is a compile-time error if the set of modules cannot be
>> resolved by ..." By whom? The host system? The system module resolver?
>> The Jigsaw module resolver?
>
> Given that the language in SE 8 can assume the presence of a module 
> system, we could distinguish in the JLS between a compiler and a 
> resolver. I don't really expect it will be useful to do so, however. 
> But perhaps experience with how the R.I. compiler talks to the R.I. 
> module system will inform this.
>
> Alex

Currently, javac calls org.openjdk.jigsaw.Configurator.configurePaths 
passing an impl of org.openjdk.jigsaw.Catalog containing the module info 
known to javac.

-- Jon



More information about the jigsaw-dev mailing list