diff options
Diffstat (limited to 'tests/new')
-rw-r--r-- | tests/new/AdviceOnIntroduced.java | 2 | ||||
-rw-r--r-- | tests/new/DeclareAspectConstructorCE.java | 2 | ||||
-rw-r--r-- | tests/new/DeclareOnlyAspectConstructorCE.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/new/AdviceOnIntroduced.java b/tests/new/AdviceOnIntroduced.java index 4da93f0ca..4a3bba55d 100644 --- a/tests/new/AdviceOnIntroduced.java +++ b/tests/new/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) && diff --git a/tests/new/DeclareAspectConstructorCE.java b/tests/new/DeclareAspectConstructorCE.java index 864d5f097..65b28e049 100644 --- a/tests/new/DeclareAspectConstructorCE.java +++ b/tests/new/DeclareAspectConstructorCE.java @@ -7,5 +7,5 @@ aspect A { } aspect B { - A.new(int i) {} // CE 10 + A.new(int i) { this(); } // CE 10 } 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 } |