Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShankha Banerjee2014-08-21 13:30:00 +0000
committerJayaprakash Arthanareeswaran2014-10-31 08:38:57 +0000
commit88abd757a03dd873ff658ad7c4eef904811e533b (patch)
treec69e85085dbe7f652ef1d5719be6a198c78c54af
parent285958546e91d3ef171805501e57328918b69492 (diff)
downloadeclipse.jdt.core-jarthana/backport.tar.gz
eclipse.jdt.core-jarthana/backport.tar.xz
eclipse.jdt.core-jarthana/backport.zip
Fixed bug Bug 422832 - Fixing tests failing with unncessary secondaryjarthana/backport
error messages Signed-off-by: Shankha Banerjee <shankhba@in.ibm.com>
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ClassScope.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ClassScope.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ClassScope.java
index 1aae733852..f092f85a76 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ClassScope.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ClassScope.java
@@ -1203,7 +1203,7 @@ public class ClassScope extends Scope {
// force its superclass & superinterfaces to be found... 2 possibilities exist - the source type is included in the hierarchy of:
// - a binary type... this case MUST be caught & reported here
// - another source type... this case is reported against the other source type
- if ((superType.tagBits & TagBits.HierarchyHasProblems) != 0) {
+ if (superType.problemId() != ProblemReasons.NotFound && (superType.tagBits & TagBits.HierarchyHasProblems) != 0) {
sourceType.tagBits |= TagBits.HierarchyHasProblems;
problemReporter().hierarchyHasProblems(sourceType);
return true;

Back to the top