aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testsrc
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2015-11-19 08:54:14 -0800
committerAndy Clement <aclement@pivotal.io>2015-11-19 08:54:14 -0800
commitaf8a5a2ac9a64e6f48101d7442024a685450285a (patch)
tree724fd5b796d73a7b8c98c26abf7f24f8cf928d7b /weaver/testsrc
parent0c818ae090e583cfa49407a0af17d1f1498f0a1f (diff)
downloadaspectj-af8a5a2ac9a64e6f48101d7442024a685450285a.tar.gz
aspectj-af8a5a2ac9a64e6f48101d7442024a685450285a.zip
Fix 461323: around advice on default methods
Diffstat (limited to 'weaver/testsrc')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/bcel/MoveInstructionsWeaveTestCase.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/bcel/MoveInstructionsWeaveTestCase.java b/weaver/testsrc/org/aspectj/weaver/bcel/MoveInstructionsWeaveTestCase.java
index 0155cb03c..bd7c2ae65 100644
--- a/weaver/testsrc/org/aspectj/weaver/bcel/MoveInstructionsWeaveTestCase.java
+++ b/weaver/testsrc/org/aspectj/weaver/bcel/MoveInstructionsWeaveTestCase.java
@@ -39,7 +39,7 @@ public class MoveInstructionsWeaveTestCase extends WeaveTestCase {
BcelShadow shadow = (BcelShadow) s;
LazyMethodGen newMethod = shadow.extractShadowInstructionsIntoNewMethod(NameMangler.getExtractableName(shadow
.getSignature())
- + "_extracted", 0, this.getSourceLocation(), new ArrayList());
+ + "_extracted", 0, this.getSourceLocation(), new ArrayList(),shadow.getEnclosingClass().isInterface());
shadow.getRange().append(shadow.makeCallToCallback(newMethod));
if (!shadow.isFallsThrough()) {
@@ -63,9 +63,10 @@ public class MoveInstructionsWeaveTestCase extends WeaveTestCase {
public boolean implementOn(Shadow s) {
BcelShadow shadow = (BcelShadow) s;
- LazyMethodGen newMethod = shadow.extractShadowInstructionsIntoNewMethod(NameMangler.getExtractableName(shadow
+ LazyMethodGen newMethod =
+ shadow.extractShadowInstructionsIntoNewMethod(NameMangler.getExtractableName(shadow
.getSignature())
- + "_extracted" + counter++, 0, this.getSourceLocation(), new ArrayList());
+ + "_extracted" + counter++, 0, this.getSourceLocation(), new ArrayList(),shadow.getEnclosingClass().isInterface());
shadow.getRange().append(shadow.makeCallToCallback(newMethod));
if (!shadow.isFallsThrough()) {