diff options
author | aclement <aclement> | 2005-01-14 10:45:36 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-01-14 10:45:36 +0000 |
commit | 767d730c50fd21915fed0dd64ad9f40500be0a6b (patch) | |
tree | f13b219a10a580ae1923f3ec0e6e5b887dff83f1 /weaver | |
parent | b3a30ac11b75cbdd7e9fbb6f7616cce3d2528bba (diff) | |
download | aspectj-767d730c50fd21915fed0dd64ad9f40500be0a6b.tar.gz aspectj-767d730c50fd21915fed0dd64ad9f40500be0a6b.zip |
Fix for AjcPre10xTests.test016 if run standalone. (if run standalone no-one was setting the world correctly for certain types and you'd get an NPE).
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/ResolvedTypeX.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/ResolvedTypeX.java b/weaver/src/org/aspectj/weaver/ResolvedTypeX.java index 80ee36f92..1214df7d0 100644 --- a/weaver/src/org/aspectj/weaver/ResolvedTypeX.java +++ b/weaver/src/org/aspectj/weaver/ResolvedTypeX.java @@ -954,6 +954,10 @@ public abstract class ResolvedTypeX extends TypeX implements AnnotatedElement { if (index > 6 || ((Primitive)other).index > 6) return false; return true; } + public ResolvedTypeX resolve(World world) { + this.world = world; + return super.resolve(world); + } public final boolean needsNoConversionFrom(TypeX other) { if (! other.isPrimitive()) return false; return noConvertTable[((Primitive)other).index][index]; |