aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/DeclareOnlyAspectConstructorCE.java
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/new/DeclareOnlyAspectConstructorCE.java
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/new/DeclareOnlyAspectConstructorCE.java')
-rw-r--r--tests/new/DeclareOnlyAspectConstructorCE.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/new/DeclareOnlyAspectConstructorCE.java b/tests/new/DeclareOnlyAspectConstructorCE.java
index 11bde660b..383981a06 100644
--- a/tests/new/DeclareOnlyAspectConstructorCE.java
+++ b/tests/new/DeclareOnlyAspectConstructorCE.java
@@ -7,5 +7,5 @@ aspect A {
}
aspect B {
- A.new(int i) {} // CE 10
+ A.new(int i) { this(); } // CE 10
}