diff options
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); |