summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2010-05-13 17:21:55 +0000
committeraclement <aclement>2010-05-13 17:21:55 +0000
commitb07cb6eaee9681bf8ee9a38d389005425ea9ffb6 (patch)
tree39a5c1755a5dde0c8be15d879a9d2bdfc75d2c50
parent511e100a81fd864f2f989becfe1405f1be9bb3e0 (diff)
downloadaspectj-b07cb6eaee9681bf8ee9a38d389005425ea9ffb6.tar.gz
aspectj-b07cb6eaee9681bf8ee9a38d389005425ea9ffb6.zip
overweaving and tjp
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
index 1bef5f968..547f0ad7d 100644
--- a/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
+++ b/weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
@@ -3048,8 +3048,11 @@ class BcelClassWeaver implements IClassWeaver {
if (world.isOverWeaving()) {
String s = invoke.getClassName(mg.getConstantPool());
// skip all the inc/dec/isValid/etc
- if (s.equals("org.aspectj.runtime.internal.CFlowCounter")
- || s.equals("org.aspectj.runtime.internal.CFlowStack")) {
+ if (s.length() > 4
+ && s.charAt(4) == 'a'
+ && (s.equals("org.aspectj.runtime.internal.CFlowCounter")
+ || s.equals("org.aspectj.runtime.internal.CFlowStack") || s
+ .equals("org.aspectj.runtime.reflect.Factory"))) {
proceed = false;
} else {
if (methodName.equals("aspectOf")) {