[java, jigsaw] Support JDK-8197532: add tests (IDEA-367339) IJ-CR-154794

GitOrigin-RevId: e3acb5c8848ae13da6f28c1593b432e27c81cd14
This commit is contained in:
Aleksey Dobrynin
2025-02-18 15:41:46 +01:00
committed by intellij-monorepo-bot
parent 18337163f5
commit 5151559045
12 changed files with 93 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
import module my.source.moduleB;
import module my.source.moduleA;
class AmbiguousModuleImport {
<error descr="Reference to 'Imported' is ambiguous, both 'my.source.moduleB.Imported' and 'my.source.moduleA.Imported' match">Imported</error> <caret>module;
<error descr="Reference to 'Imported' is ambiguous, both 'my.source.moduleA.Imported' and 'my.source.moduleB.Imported' match">Imported</error> <caret>module;
}