hg: jdk/jdk: 8189765: Improve error reporting for compiling against package not visible due to modules

jan.lahoda at oracle.com jan.lahoda at oracle.com
Thu Apr 12 07:25:38 UTC 2018


Changeset: fce4252d5227
Author:    jlahoda
Date:      2018-04-12 09:23 +0200
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/fce4252d5227

8189765: Improve error reporting for compiling against package not visible due to modules
Summary: When looking in other modules for an undefined Symbol, also look into the unnamed module.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! test/langtools/tools/javac/modules/CompileModulePatchTest.java
! test/langtools/tools/javac/modules/ConvenientAccessErrorsTest.java
! test/langtools/tools/javac/modules/ModulesAndClassPathTest.java



More information about the jdk-changes mailing list