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

chris.hegarty at oracle.com chris.hegarty at oracle.com
Thu Apr 12 07:30:20 UTC 2018


Changeset: fce4252d5227
Author:    jlahoda
Date:      2018-04-12 09:23 +0200
URL:       http://hg.openjdk.java.net/jdk/sandbox/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-sandbox-changes mailing list