Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2018-11-22 22:27:22 +0000
committerStephan Herrmann2018-11-27 11:02:28 +0000
commitb27a425302ddd1876fc7ce0ffa7466c71d68aed3 (patch)
treefc703e1a891ad004f83265287df3e1a103e30115
parentd6150b550054172100ad0095c14a8842169ffb95 (diff)
downloadeclipse.jdt.core-I20181128-0130.tar.gz
eclipse.jdt.core-I20181128-0130.tar.xz
eclipse.jdt.core-I20181128-0130.zip
Bug 541151 - [9] Random compilation problem (import cannot be resolved)I20181128-0600I20181128-0130I20181127-1800
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ModuleBinding.java4
1 files changed, 2 insertions, 2 deletions
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 ec3fdcdb23..d6117ed47a 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 @@ public class ModuleBinding extends Binding implements IUpdatableModule {
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);
}
}

Back to the top