aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr99089
diff options
context:
space:
mode:
authoraclement <aclement>2005-06-09 13:59:15 +0000
committeraclement <aclement>2005-06-09 13:59:15 +0000
commit81c78513ef92422e97e06002545c3e0ad6a9027c (patch)
tree8d9659fc039fffdf7f1d293dd43c319d7c23b75b /tests/bugs150/pr99089
parentf9bd27ed34fccf28f1c21aa31b5b05fc4e58d86c (diff)
downloadaspectj-81c78513ef92422e97e06002545c3e0ad6a9027c.tar.gz
aspectj-81c78513ef92422e97e06002545c3e0ad6a9027c.zip
Tests for pr99089 - commented out in Ajc150Tests.java
Diffstat (limited to 'tests/bugs150/pr99089')
-rw-r--r--tests/bugs150/pr99089/DataClass.java6
-rw-r--r--tests/bugs150/pr99089/TracingAspect.java7
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs150/pr99089/DataClass.java b/tests/bugs150/pr99089/DataClass.java
new file mode 100644
index 000000000..cbfb7905d
--- /dev/null
+++ b/tests/bugs150/pr99089/DataClass.java
@@ -0,0 +1,6 @@
+import java.util.Vector;
+
+public class DataClass {
+ private Vector<Object> v = new Vector<Object>();
+ private Vector<Object> getV() { return v; }
+}
diff --git a/tests/bugs150/pr99089/TracingAspect.java b/tests/bugs150/pr99089/TracingAspect.java
new file mode 100644
index 000000000..ba3ef7ef6
--- /dev/null
+++ b/tests/bugs150/pr99089/TracingAspect.java
@@ -0,0 +1,7 @@
+import java.util.Vector;
+
+privileged aspect TracingAspect {
+ before(DataClass dc): execution(* DataClass.doit()) && this(dc) {
+ Vector<Object> myV = dc.getV();
+ }
+}