]> source.dussan.org Git - aspectj.git/commitdiff
223226: test and fix for NPE and duplicate signature
authoraclement <aclement>
Wed, 11 Jun 2008 20:54:28 +0000 (20:54 +0000)
committeraclement <aclement>
Wed, 11 Jun 2008 20:54:28 +0000 (20:54 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeScope.java

index ecfb7df65a686db00311c2857ea01a17c916c49b..bf1a084a9c9786b073cd4fc0d50517fc3f30aba9 100644 (file)
@@ -82,6 +82,7 @@ public class InterTypeScope extends ClassScope {
                if (aliased!=-1) {
                        if (aliased>sourceType.typeVariables.length || sourceType.typeVariables.length==0) {
                                TypeVariableBinding tvb = new TypeVariableBinding("fake".toCharArray(),null,0);
+                               tvb.superclass = getJavaLangObject();
                                tvb.fPackage = new PackageBinding(environment());
                                return tvb;
                                // error is going to be reported by someone else!