diff options
author | aclement <aclement> | 2005-12-09 10:52:15 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-09 10:52:15 +0000 |
commit | 0c8c0a3d21365eade6f53a0484bba71f24637a65 (patch) | |
tree | efa8c4ba005882f172f1abfc9460adda738031c3 /loadtime | |
parent | 5f8d2cdff480ac9d04cc73a4a69eb11563a0bb01 (diff) | |
download | aspectj-0c8c0a3d21365eade6f53a0484bba71f24637a65.tar.gz aspectj-0c8c0a3d21365eade6f53a0484bba71f24637a65.zip |
Some updates for 118754. The various places that were checking for 'MISSING' now call 'isMissing' if they can. I think this negates some work Adrian did with introducing MissingWithKnownSignature - but we have to make this change for LTW to work properly. Someone with a bit of time on their hands should go through all the places isMissing() is now called and see if the check should be 'isReallyMissing()' which would allow the MissingWithKnownSignature to get through. I will raise an enhancement to cover this.
Diffstat (limited to 'loadtime')
-rw-r--r-- | loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java b/loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java index 897e17f52..ff1ea65cf 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java @@ -125,7 +125,7 @@ public class ConcreteAspectCodeGen { m_parent = m_world.resolve(m_concreteAspect.extend, true); // handle inner classes - if (m_parent.equals(ResolvedType.MISSING)) { + if (m_parent.isMissing()) { // fallback on inner class lookup mechanism String fixedName = m_concreteAspect.extend; int hasDot = fixedName.lastIndexOf('.'); @@ -135,7 +135,7 @@ public class ConcreteAspectCodeGen { fixedName = new String(fixedNameChars); hasDot = fixedName.lastIndexOf('.'); m_parent = m_world.resolve(UnresolvedType.forName(fixedName), true); - if (!m_parent.equals(ResolvedType.MISSING)) { + if (!m_parent.isMissing()) { break; } } |