mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8189765: Improve error reporting for compiling against package not visible due to modules
When looking in other modules for an undefined Symbol, also look into the unnamed module. Reviewed-by: mcimadamore
This commit is contained in:
parent
8483faa4a9
commit
594fb594ce
4 changed files with 9 additions and 8 deletions
|
@ -252,7 +252,7 @@ public class CompileModulePatchTest extends ModuleTestBase {
|
|||
.getOutputLines(Task.OutputKind.DIRECT);
|
||||
|
||||
List<String> expectedOut = Arrays.asList(
|
||||
"Extra.java:1:76: compiler.err.doesnt.exist: p",
|
||||
"Extra.java:1:75: compiler.err.package.not.visible: p, (compiler.misc.not.def.access.does.not.read.unnamed: p, java.compiler)",
|
||||
"1 error"
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue