diff options
author | aclement <aclement> | 2010-04-06 00:05:35 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-04-06 00:05:35 +0000 |
commit | d490604ec4490e0335722373319f31fdbe6662d5 (patch) | |
tree | 4628b44c44f3a90477d5471c646844552b541db2 /org.aspectj.matcher | |
parent | 83f581de834d25ede699d829ffa9fed531ef25de (diff) | |
download | aspectj-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.java | 6 |
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); |