From 1a339c3258b63e2618a1234a228531b6a4fdfe67 Mon Sep 17 00:00:00 2001 From: acolyer Date: Tue, 12 Jul 2005 14:24:51 +0000 Subject: [PATCH] handles resolution of bindings when the pointcut uses type variables --- .../src/org/aspectj/weaver/patterns/WildTypePattern.java | 8 ++++---- 1 file 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); -- 2.39.5