diff options
author | aclement <aclement> | 2008-09-24 20:06:27 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-09-24 20:06:27 +0000 |
commit | 15e3a298d2b4d9db6441c42f65f42bbe0a1c5f41 (patch) | |
tree | 02a7f71bc64d691379f0d4f700c28c9c0fd1dc2a /tests/multiIncremental/BrokenHandles | |
parent | c8471429684ecfa9294075fed223568f92673efd (diff) | |
download | aspectj-15e3a298d2b4d9db6441c42f65f42bbe0a1c5f41.tar.gz aspectj-15e3a298d2b4d9db6441c42f65f42bbe0a1c5f41.zip |
247742:c27
Diffstat (limited to 'tests/multiIncremental/BrokenHandles')
-rw-r--r-- | tests/multiIncremental/BrokenHandles/base/src/ErrorAspect.java | 13 | ||||
-rw-r--r-- | tests/multiIncremental/BrokenHandles/base/src/GetInfo.java | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/multiIncremental/BrokenHandles/base/src/ErrorAspect.java b/tests/multiIncremental/BrokenHandles/base/src/ErrorAspect.java new file mode 100644 index 000000000..3dfad32db --- /dev/null +++ b/tests/multiIncremental/BrokenHandles/base/src/ErrorAspect.java @@ -0,0 +1,13 @@ +package p; + +import java.util.ArrayList; + +public class ErrorAspect { + ArrayList arr = new ArrayList() { + public boolean add(Object o) { + doNothing(); + super.add(o); + }; + } +} + diff --git a/tests/multiIncremental/BrokenHandles/base/src/GetInfo.java b/tests/multiIncremental/BrokenHandles/base/src/GetInfo.java new file mode 100644 index 000000000..7915a341a --- /dev/null +++ b/tests/multiIncremental/BrokenHandles/base/src/GetInfo.java @@ -0,0 +1,7 @@ +package p; + +aspect GetInfo { + declare warning : set(int Demo.x) : "field set"; + declare warning : set(int Demo.x) : "field set"; + declare parents : Demo implements Serializable; +} |