]> source.dussan.org Git - aspectj.git/commitdiff
323438
authoraclement <aclement>
Wed, 25 Aug 2010 15:16:02 +0000 (15:16 +0000)
committeraclement <aclement>
Wed, 25 Aug 2010 15:16:02 +0000 (15:16 +0000)
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java

index 8a167fb1fd5388f11aa86b26866482b5f796b105..bcbcabc83210b8cdc67aa161e3e25506e618b3ff 100644 (file)
@@ -1204,7 +1204,7 @@ public final class LazyClassGen {
                list.append(InstructionFactory.PUSH(getConstantPool(), shadow.getKind().getName()));
 
                // create the signature
-               if (!isFastSJPAvailable || !sig.getKind().equals(Member.METHOD)) {
+               if ( world.isTargettingAspectJRuntime12() || !isFastSJPAvailable || !sig.getKind().equals(Member.METHOD)) {
                        list.append(InstructionFactory.createLoad(factoryType, 0));
                }