micro-resolution

David M. Lloyd david.lloyd at redhat.com
Wed Feb 5 13:36:04 PST 2014


On 02/05/2014 12:09 PM, Jonathan Gibbons wrote:
> I am beginning to consider how to rewrite (micro)resolution in javac in
> the light of the recent discussions regarding readability, visibility, etc.
>
> I know that we have determined that the JDK module graph is acyclic.   I
> think we decided that all module graphs should be acyclic, right?
>
> I guess I'm wondering what the text in the JLS might be like in this
> area.  i.e. "it is a compile-time error if ...."

It's worth pointing out that this should be refined to say "all module 
graphs *of modules being compiled* are acyclic", or possibly "all module 
graphs are acyclic *at compile time*" as experience shows that it is 
quite common to have cycles at run time for various reasons.


-- 
- DML


More information about the jigsaw-dev mailing list