From 9025e8b4185cf965d51e64b1ed0aba7e43d33842 Mon Sep 17 00:00:00 2001 From: acolyer Date: Thu, 3 Nov 2005 17:09:45 +0000 Subject: tests for pr62606 - itdcs don't run field initialisers in target type. Largely updates to existing tests to cope with new Lint warning. --- .../initialTests/classWAroundClosureRemoved/src/AdviceOnIntroduced.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/incrementalju') diff --git a/tests/incrementalju/initialTests/classWAroundClosureRemoved/src/AdviceOnIntroduced.java b/tests/incrementalju/initialTests/classWAroundClosureRemoved/src/AdviceOnIntroduced.java index 4da93f0ca..3da3275e8 100644 --- a/tests/incrementalju/initialTests/classWAroundClosureRemoved/src/AdviceOnIntroduced.java +++ b/tests/incrementalju/initialTests/classWAroundClosureRemoved/src/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) && -- cgit v1.2.3