More jigsaw spec clarifications

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Jan 23 11:28:05 PST 2012


On 01/23/2012 11:10 AM, Alex Buckley wrote:
> It would be nice if the module system was responsible for detecting 
> inter-declaration errors while the compiler sticks to 
> intra-declaration errors.
>
> The module system already has the logic for finding different modules 
> (within a dependency graph) exporting the same package, so why should 
> a compiler duplicate it for source-form declarations? Perhaps this 
> comes down to the interface between compiler and module system. Will 
> be a sketch of how javac's interaction with the classpath is modified 
> to work with Jigsaw? 

It would be nice if the module system had more than one error message: 
"Cannot resolve".  I know it is on the list to fix that, but I was 
trying to work on the common and easy cases.

Anyway, you changed the subject to one of implementation detail.  I was 
asking about the spec :-)  Where should I look for specification details 
about the restrictions on duplicate names in the module graph.

-- Jon



More information about the jigsaw-dev mailing list