]> source.dussan.org Git - aspectj.git/commit
Fixes for compile time overweaving
authorAndy Clement <aclement@pivotal.io>
Wed, 20 Jan 2016 20:58:09 +0000 (12:58 -0800)
committerAndy Clement <aclement@pivotal.io>
Wed, 20 Jan 2016 20:58:09 +0000 (12:58 -0800)
commit9be47cc3a9ead4208d6247fcc5da7216c231278a
tree9aebcfab91ed5269838ae153a8035f36ae16fcdd
parentee41a3446c1b678dfc8afe5842c17c2c96cc49dd
Fixes for compile time overweaving

In writing a testcase for 352389 I discovered overweaving
just wasn't working for a compile time series of test steps.
This was due to a guard preventing secondary calls to
addOrReplaceAspect. Without the secondary call the crosscutting
collector for the aspect had recorded no mungers from the
original aspect because it was still using an EclipseSourceType
delegate. Later when it was using the binary BcelObjectType
delegate and mungers were available, they weren't collected
because of that missing addOrReplaceAspect call.
tests/bugs189/352389/A.java [new file with mode: 0644]
tests/bugs189/352389/B.java [new file with mode: 0644]
tests/bugs189/352389/C.java [new file with mode: 0644]
tests/bugs189/352389/Code.java [new file with mode: 0644]
tests/src/org/aspectj/systemtest/ajc189/Ajc189Tests.java
tests/src/org/aspectj/systemtest/ajc189/ajc189.xml
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java