Bug 541151 - [9] Random compilation problem (import cannot be resolved)
Change-Id: I6f6ae5946b1bc2b087f23bcd55121985fa57038c
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ModuleBinding.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ModuleBinding.java
index ec3fdcd..d6117ed 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ModuleBinding.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ModuleBinding.java
@@ -684,8 +684,8 @@
for (ModuleBinding moduleBinding : otherRelevantModules(declaringModuleNames)) {
if (!moduleBinding.isPackageLookupActive) {
PackageBinding nextBinding = parent != null
- ? moduleBinding.getVisiblePackage(parent, singleName, true)
- : moduleBinding.getVisiblePackage(compoundName, true);
+ ? moduleBinding.getVisiblePackage(parent, singleName, false)
+ : moduleBinding.getVisiblePackage(compoundName, false);
currentBinding = SplitPackageBinding.combine(nextBinding, currentBinding, this);
}
}