]> source.dussan.org Git - aspectj.git/commitdiff
292584: fix
authoraclement <aclement>
Mon, 25 Jan 2010 22:51:16 +0000 (22:51 +0000)
committeraclement <aclement>
Mon, 25 Jan 2010 22:51:16 +0000 (22:51 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelAccessForInlineMunger.java

index ee09268a30076e30e575184eebe4f610ef427062..64efb0a316aab4ea957ea273f276ba0d11031414 100644 (file)
@@ -258,7 +258,7 @@ public class BcelAccessForInlineMunger extends BcelTypeMunger {
                                register += type.getSize();
                        }
                        il.append(Utility.createInvoke(factory, Modifier.isStatic(resolvedMember.getModifiers()) ? Constants.INVOKESTATIC
-                                       : Constants.INVOKESPECIAL, resolvedMember));
+                                       : Constants.INVOKEVIRTUAL, resolvedMember));
                        il.append(InstructionFactory.createReturn(BcelWorld.makeBcelType(inlineAccessor.getReturnType())));
 
                        m_inlineAccessorBcelMethods.put(accessor, new BcelMethod(m_aspectGen.getBcelObjectType(), method.getMethod()));