RFR : JDK-8189765: Improve error reporting for compiling against package not visible due to modules

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Apr 4 09:37:56 UTC 2018


Looks good

Maurizio


On 03/04/18 13:06, Jan Lahoda wrote:
> Hi,
>
> When a type cannot be found, javac tries to find it in modules not 
> read by the current module and in not exported packages of any module. 
> But the current search does not search in the unnamed module. The 
> proposed patch is to search in the unnamed module.
>
> Webrev: http://cr.openjdk.java.net/~jlahoda/8189765/webrev.00/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8189765
>
> Thanks,
>     Jan



More information about the compiler-dev mailing list