From be5fb95ac63fc225b7e2a17380052bb147af3b21 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 11 Jun 2008 20:54:28 +0000 Subject: [PATCH] 223226: test and fix for NPE and duplicate signature --- .../aspectj/ajdt/internal/compiler/lookup/InterTypeScope.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeScope.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeScope.java index ecfb7df65..bf1a084a9 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeScope.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeScope.java @@ -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! -- 2.39.5