summaryrefslogtreecommitdiffstats
path: root/tests/incremental
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-11-03 17:09:45 +0000
committeracolyer <acolyer>2005-11-03 17:09:45 +0000
commit9025e8b4185cf965d51e64b1ed0aba7e43d33842 (patch)
treeee5d7d16f1ea95c5bcf8dea3f7eff00626335aaa /tests/incremental
parent38084566dbf9d17cbe375f7fdfa14a821e3d7311 (diff)
downloadaspectj-9025e8b4185cf965d51e64b1ed0aba7e43d33842.tar.gz
aspectj-9025e8b4185cf965d51e64b1ed0aba7e43d33842.zip
tests for pr62606 - itdcs don't run field initialisers in target type. Largely updates to existing tests to cope with new Lint warning.
Diffstat (limited to 'tests/incremental')
-rw-r--r--tests/incremental/initialTests/classWAroundClosureRemoved/AdviceOnIntroduced.delete.20.java2
-rw-r--r--tests/incremental/initialTests/classWAroundClosureRemoved/AdviceOnIntroduced.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/incremental/initialTests/classWAroundClosureRemoved/AdviceOnIntroduced.delete.20.java b/tests/incremental/initialTests/classWAroundClosureRemoved/AdviceOnIntroduced.delete.20.java
index 4da93f0ca..3da3275e8 100644
--- a/tests/incremental/initialTests/classWAroundClosureRemoved/AdviceOnIntroduced.delete.20.java
+++ b/tests/incremental/initialTests/classWAroundClosureRemoved/AdviceOnIntroduced.delete.20.java
@@ -8,7 +8,7 @@ public aspect AdviceOnIntroduced {
}
int Foo.foo(int n) { return n; }
- Foo.new(int w) {}
+ Foo.new(int w) {this();}
int around(int n):
within(AdviceOnIntroduced) &&
diff --git a/tests/incremental/initialTests/classWAroundClosureRemoved/AdviceOnIntroduced.java b/tests/incremental/initialTests/classWAroundClosureRemoved/AdviceOnIntroduced.java
index 4da93f0ca..4a3bba55d 100644
--- a/tests/incremental/initialTests/classWAroundClosureRemoved/AdviceOnIntroduced.java
+++ b/tests/incremental/initialTests/classWAroundClosureRemoved/AdviceOnIntroduced.java
@@ -8,7 +8,7 @@ public aspect AdviceOnIntroduced {
}
int Foo.foo(int n) { return n; }
- Foo.new(int w) {}
+ Foo.new(int w) { this(); }
int around(int n):
within(AdviceOnIntroduced) &&