RFR: 8171412: tools/javac/modules/AddLimitMods.java failed with "error: module not found"

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Dec 20 11:19:45 UTC 2016

Looks good


On 20/12/16 00:33, Jonathan Gibbons wrote:
> Relatively simple fix for module initialization.
> javac was not correctly allowing for a qualified export to a 
> non-existent module.
> It handles the case where the reference was in a source file, but not 
> in a compiled module.
> The fix is to check for the existence of modules when expanding the 
> command-line
> option tokens ALL-SYSTEM and ALL-MODULE-PATH, so that non-existent 
> modules are
> ignored.
> JBS: https://bugs.openjdk.java.net/browse/JDK-8171412
> Webrev: http://cr.openjdk.java.net/~jjg/8171412/webrev.00/
> -- Jon

More information about the compiler-dev mailing list