From: acolyer Date: Tue, 12 Jul 2005 14:24:51 +0000 (+0000) Subject: handles resolution of bindings when the pointcut uses type variables X-Git-Tag: PRE_ANDY~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1a339c3258b63e2618a1234a228531b6a4fdfe67;p=aspectj.git handles resolution of bindings when the pointcut uses type variables --- 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);