Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Brychcy2019-03-12 11:08:28 +0000
committerTill Brychcy2019-03-13 06:51:00 +0000
commit1a97faeae1fab88b811216221e44c4b5a3bf3f33 (patch)
tree5e8b6ca3b022f5fc3ece307e790386fd5de64d0e
parentff39809ae9a6095793e47bc5e9a7e26a302ad7f5 (diff)
downloadeclipse.jdt.core-1a97faeae1fab88b811216221e44c4b5a3bf3f33.tar.gz
eclipse.jdt.core-1a97faeae1fab88b811216221e44c4b5a3bf3f33.tar.xz
eclipse.jdt.core-1a97faeae1fab88b811216221e44c4b5a3bf3f33.zip
Bug 545293 - References search broken in modular project when releaseI20190314-1800
option specifies actual JDK level Change-Id: Ie9fcf3c14652c8475725825225c69b9e3e96f721
-rw-r--r--org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/ClasspathJrtWithReleaseOption.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/ClasspathJrtWithReleaseOption.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/ClasspathJrtWithReleaseOption.java
index 6207656dc3..d55460d8c9 100644
--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/ClasspathJrtWithReleaseOption.java
+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/ClasspathJrtWithReleaseOption.java
@@ -360,12 +360,12 @@ public class ClasspathJrtWithReleaseOption extends ClasspathJrt {
@Override
public boolean hasModule() {
- return this.modPathString != null;
+ return this.fs == null ? super.hasModule() : this.modPathString != null;
}
@Override
protected String getKey() {
- return this.modPathString;
+ return this.fs == null ? super.getKey() : this.modPathString;
}
@Override

Back to the top