diff options
author | aclement <aclement> | 2008-06-11 20:54:28 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-11 20:54:28 +0000 |
commit | be5fb95ac63fc225b7e2a17380052bb147af3b21 (patch) | |
tree | 3809767cd9a3e3d786ff3de4233f93276d980527 /org.aspectj.ajdt.core | |
parent | 5fce948c251d0258e5f5909736cef76712c42009 (diff) | |
download | aspectj-be5fb95ac63fc225b7e2a17380052bb147af3b21.tar.gz aspectj-be5fb95ac63fc225b7e2a17380052bb147af3b21.zip |
223226: test and fix for NPE and duplicate signature
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeScope.java | 1 |
1 files changed, 1 insertions, 0 deletions
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! |