summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-07-12 14:24:51 +0000
committeracolyer <acolyer>2005-07-12 14:24:51 +0000
commit1a339c3258b63e2618a1234a228531b6a4fdfe67 (patch)
treebe1fef5fa5424c9e4e4924ff67cb5eff457ca1e7
parent21de41aba25e317167a22e491ab9c9381388498d (diff)
downloadaspectj-1a339c3258b63e2618a1234a228531b6a4fdfe67.tar.gz
aspectj-1a339c3258b63e2618a1234a228531b6a4fdfe67.zip
handles resolution of bindings when the pointcut uses type variables
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java b/weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
index 7496225ee..436103277 100644
--- a/weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
+++ b/weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
@@ -526,11 +526,11 @@ public class WildTypePattern extends TypePattern {
ret = new ExactTypePattern(type,includeSubtypes,isVarArgs);
} else {
// TODO generics not written yet - when the type parameters are not exact
- throw new RuntimeException("Type parameters are not exact");
+ //throw new RuntimeException("Type parameters are not exact");
// AMC... just leave it as a wild type pattern then?
- //importedPrefixes = scope.getImportedPrefixes();
- //knownMatches = preMatch(scope.getImportedNames());
- //return this;
+ importedPrefixes = scope.getImportedPrefixes();
+ knownMatches = preMatch(scope.getImportedNames());
+ return this;
}
} else {
if (dim != 0) rawType = TypeX.makeArray(rawType, dim);