aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2006-06-27 11:34:41 +0000
committeraclement <aclement>2006-06-27 11:34:41 +0000
commit792d1dfd50e8b9ca5df70ea84c0b35de9cfba0f3 (patch)
treec183458e24f0b8c5b20020c97925191983f501c3 /weaver
parentd1be59a2e48808bc72dea4432dcf00ee50662e5e (diff)
downloadaspectj-792d1dfd50e8b9ca5df70ea84c0b35de9cfba0f3.tar.gz
aspectj-792d1dfd50e8b9ca5df70ea84c0b35de9cfba0f3.zip
test/fix for 148786: new array joinpoint problem. tiny one line change, safe for committing post RC.
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelWorld.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
index c06f963c0..f7bd4d5f1 100644
--- a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
+++ b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
@@ -479,11 +479,10 @@ public class BcelWorld extends World implements Repository {
if (i instanceof ANEWARRAY) {
ANEWARRAY arrayInstruction = (ANEWARRAY)i;
- ObjectType ot = arrayInstruction.getLoadClassType(cpg);
+ Type ot = arrayInstruction.getType(cpg);
UnresolvedType ut = fromBcel(ot);
ut = UnresolvedType.makeArray(ut,1);
retval = MemberImpl.method(ut, Modifier.PUBLIC, ResolvedType.VOID, "<init>", new ResolvedType[]{ResolvedType.INT});
-
} else if (i instanceof MULTIANEWARRAY) {
MULTIANEWARRAY arrayInstruction = (MULTIANEWARRAY)i;
UnresolvedType ut = null;