diff options
author | aclement <aclement> | 2006-08-01 12:40:31 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-08-01 12:40:31 +0000 |
commit | f4289cd1511ef1977fecd10cb1949c78dfbb9e9c (patch) | |
tree | def310c140760ae7fb8d9776042a39480c518eec /weaver | |
parent | c6b1c7c63fd4f4d2aa39cd7be2301d849c720b27 (diff) | |
download | aspectj-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.java | 3 |
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 = |