aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs150')
-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();
+ }
+}