mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8166538: Improve error reporting for compiling against unexported package
When a type cannot be found, look into other modules, search for possible viable types, and report them conveniently to the user. Reviewed-by: mcimadamore, jjg
This commit is contained in:
parent
0032be0658
commit
5daafbe43b
71 changed files with 1926 additions and 114 deletions
|
@ -239,8 +239,10 @@ public class RunExamples {
|
|||
srcFiles.remove(e.infoFile);
|
||||
showFiles(e, srcFiles);
|
||||
showFiles(e, e.srcPathFiles);
|
||||
showFiles(e, e.moduleSourcePathFiles);
|
||||
showFiles(e, e.modulePathFiles);
|
||||
showFiles(e, e.classPathFiles);
|
||||
showFiles(e, e.procFiles);
|
||||
showFiles(e, e.supportFiles);
|
||||
}
|
||||
run(e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue