aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authoraclement <aclement>2010-04-06 00:05:35 +0000
committeraclement <aclement>2010-04-06 00:05:35 +0000
commitd490604ec4490e0335722373319f31fdbe6662d5 (patch)
tree4628b44c44f3a90477d5471c646844552b541db2 /org.aspectj.matcher
parent83f581de834d25ede699d829ffa9fed531ef25de (diff)
downloadaspectj-d490604ec4490e0335722373319f31fdbe6662d5.tar.gz
aspectj-d490604ec4490e0335722373319f31fdbe6662d5.zip
remove check - is type variable bound is a type variable and that then has an interface bound, that can trigger this check to fail
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java b/org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
index 76d954b83..98cbedf0a 100644
--- a/org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
+++ b/org.aspectj.matcher/src/org/aspectj/weaver/TypeVariable.java
@@ -152,9 +152,9 @@ public class TypeVariable {
if (superclass != null) {
ResolvedType rt = superclass.resolve(world);
- if (!superclass.isTypeVariableReference() && rt.isInterface()) {
- throw new IllegalStateException("Why is the type an interface? " + rt);
- }
+ // if (!superclass.isTypeVariableReference() && rt.isInterface()) {
+ // throw new IllegalStateException("Why is the type an interface? " + rt);
+ // }
superclass = rt;
}
firstbound = getFirstBound().resolve(world);