diff options
author | acolyer <acolyer> | 2005-11-03 17:09:45 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-11-03 17:09:45 +0000 |
commit | 9025e8b4185cf965d51e64b1ed0aba7e43d33842 (patch) | |
tree | ee5d7d16f1ea95c5bcf8dea3f7eff00626335aaa /tests/design | |
parent | 38084566dbf9d17cbe375f7fdfa14a821e3d7311 (diff) | |
download | aspectj-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/design')
-rw-r--r-- | tests/design/intro/Simple.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/design/intro/Simple.java b/tests/design/intro/Simple.java index cd995d993..d72b04a17 100644 --- a/tests/design/intro/Simple.java +++ b/tests/design/intro/Simple.java @@ -56,10 +56,10 @@ aspect A { return new C(2).m(); } - public C.new(String s) { } + public C.new(String s) { this(); } private C.new(int i) { - Tester.note("new A.C"); + this(); Tester.note("new A.C"); } } @@ -75,6 +75,6 @@ aspect B { } private C.new(int i) { - Tester.note("new B.C"); + this(); Tester.note("new B.C"); } } |