Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2013-03-19 10:41:00 +0000
committerStephan Herrmann2013-03-19 10:41:00 +0000
commit662da834319db2fa3444169f03ddae2392b85457 (patch)
treea41924e2bd44d9f247c4202a0dc6f7fab6ce84f5
parent3aa87a5ae529a0c2fb9fe0f32fccc01ad8fc3e72 (diff)
downloadorg.eclipse.objectteams-662da834319db2fa3444169f03ddae2392b85457.tar.gz
org.eclipse.objectteams-662da834319db2fa3444169f03ddae2392b85457.tar.xz
org.eclipse.objectteams-662da834319db2fa3444169f03ddae2392b85457.zip
Bug 403396 - Possible bug with the layering of teams (or stacking of
teams) - fix regressions by better check for missing type
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java
index 44f2ff89b..f7e96cb7c 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java
@@ -2240,7 +2240,7 @@ public MethodBinding resolveTypesFor(MethodBinding method, boolean fromSynthetic
}
}
// fix for NPE of https://bugs.eclipse.org/403396
- if (parameterType != null && !parameterType.isValidBinding() && !(parameterType instanceof MissingTypeBinding))
+ if (parameterType != null && !parameterType.isValidBinding() && ((parameterType.tagBits & TagBits.HasMissingType) == 0))
foundArgProblem = true;
// SH}
if (parameterType == null) {

Back to the top