diff options
author | jhugunin <jhugunin> | 2003-04-27 22:48:06 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-04-27 22:48:06 +0000 |
commit | 92f36043baa4059b8707a81429a5e2f79ee7a2ee (patch) | |
tree | 146a657b73b853290f57e6d49a801fb1212e3318 /weaver | |
parent | 0557b906e87ef2179694dc919ad67b9fbf0fa077 (diff) | |
download | aspectj-92f36043baa4059b8707a81429a5e2f79ee7a2ee.tar.gz aspectj-92f36043baa4059b8707a81429a5e2f79ee7a2ee.zip |
fixed bug caught by unit tests
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index c3598ed49..56756a074 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -293,15 +293,14 @@ public class BcelWeaver implements IWeaver { DeclareParents p = (DeclareParents)i.next(); List newParents = p.findMatchingNewParents(onType); if (!newParents.isEmpty()) { - //??? - BcelObjectType classType = BcelWorld.getBcelObjectType(world.resolve(onType.getClassName())); + BcelObjectType classType = BcelWorld.getBcelObjectType(onType); //System.err.println("need to do declare parents for: " + onType); for (Iterator j = newParents.iterator(); j.hasNext(); ) { ResolvedTypeX newParent = (ResolvedTypeX)j.next(); if (newParent.isClass()) { world.showMessage(IMessage.ERROR, "can't use declare parents to change superclass of binary form \'" + - onType.getClassName() + "\' (implementation limitation)", + onType.getName() + "\' (implementation limitation)", p.getSourceLocation(), null); continue; } |