aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2006-08-01 12:40:31 +0000
committeraclement <aclement>2006-08-01 12:40:31 +0000
commitf4289cd1511ef1977fecd10cb1949c78dfbb9e9c (patch)
treedef310c140760ae7fb8d9776042a39480c518eec /weaver
parentc6b1c7c63fd4f4d2aa39cd7be2301d849c720b27 (diff)
downloadaspectj-f4289cd1511ef1977fecd10cb1949c78dfbb9e9c.tar.gz
aspectj-f4289cd1511ef1977fecd10cb1949c78dfbb9e9c.zip
synchronization pointcut problem (see Fourteen.java for info)
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java
index 9e678df76..ddb77ace9 100644
--- a/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java
+++ b/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java
@@ -926,7 +926,8 @@ public final class LazyMethodGen implements Traceable {
//killNops();
int flags = getAccessFlags();
- if (enclosingClass.getWorld().isJoinpointSynchronizationEnabled()) {
+ if (enclosingClass.getWorld().isJoinpointSynchronizationEnabled() &&
+ enclosingClass.getWorld().areSynchronizationPointcutsInUse()) {
flags = getAccessFlagsWithoutSynchronized();
}
MethodGen gen =