summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-08-09 12:59:55 +0000
committeracolyer <acolyer>2005-08-09 12:59:55 +0000
commiteb3eca9cc55ce5cad653b589862c74387e832256 (patch)
tree2f79dcfa57eb561cb112ccf8056d3806894d5300 /weaver
parent8643e44d95867da295b83368bd305705247c57e0 (diff)
downloadaspectj-eb3eca9cc55ce5cad653b589862c74387e832256.tar.gz
aspectj-eb3eca9cc55ce5cad653b589862c74387e832256.zip
resolved members never belong to raw types, but the backing generic type
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/World.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/World.java b/weaver/src/org/aspectj/weaver/World.java
index c94090ebb..50f0469cc 100644
--- a/weaver/src/org/aspectj/weaver/World.java
+++ b/weaver/src/org/aspectj/weaver/World.java
@@ -406,6 +406,7 @@ public abstract class World implements Dump.INode {
*/
public ResolvedMember resolve(Member member) {
ResolvedType declaring = member.getDeclaringType().resolve(this);
+ if (declaring.isRawType()) declaring = declaring.getGenericType();
ResolvedMember ret;
if (member.getKind() == Member.FIELD) {
ret = declaring.lookupField(member);