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

Jan Lahoda jan.lahoda at oracle.com
Tue Apr 3 12:06:34 UTC 2018


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