aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authorAndy Clement <andrew.clement@gmail.com>2012-04-05 20:53:07 -0700
committerAndy Clement <andrew.clement@gmail.com>2012-04-05 20:53:07 -0700
commit6e1704d3e20367a0b3327a7544417d5a3291ac27 (patch)
treeff07ac71f7586494ce5ec105c435381397f36843 /org.aspectj.ajdt.core
parentf41062267162351ad1e213ab86057a3d3863bc91 (diff)
downloadaspectj-6e1704d3e20367a0b3327a7544417d5a3291ac27.tar.gz
aspectj-6e1704d3e20367a0b3327a7544417d5a3291ac27.zip
375777
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
index 2c5e06f02..64f10059e 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
@@ -1371,6 +1371,9 @@ public class AjLookupEnvironment extends LookupEnvironment implements AnonymousC
ReferenceType rt = (ReferenceType) onType;
ReferenceTypeDelegate rtd = rt.getDelegate();
if (rtd instanceof BcelObjectType) {
+ if (rt.isRawType()) {
+ rt = (ReferenceType)rt.getGenericType();
+ }
rt.addParent(parent);
// ((BcelObjectType) rtd).addParent(parent);
}