Compile error for transitive dependencies
    Alan Bateman 
    Alan.Bateman at oracle.com
       
    Fri Dec 30 05:58:55 UTC 2016
    
    
  
On 29/12/2016 09:44, Nicolai Parlog wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>   Hi!
>
> If module A requires B and B requires C, A can not be compiled without
> C on the module path.
>
> 	error: module not found: C
> 	1 error
>
> This is a little irritating but maybe it was done on purpose to ensure
> fidelity across all phases.
This need to be looked at. At one point then it was possible to compile 
A without C being observable (assuming that B `requires C`, not B 
`requires transitive C`). I'm sure Jan or Jon will comment on this, I 
believe the current behavior came about as part of supporting automatic 
modules.
-Alan
    
    
More information about the jigsaw-dev
mailing list