aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/inlineAround/aspect1
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-05-02 20:36:06 +0000
committerjhugunin <jhugunin>2003-05-02 20:36:06 +0000
commitbcdbd68f76629692a5e780702086bff96cdc4c7c (patch)
treef34261e11877f35a765cc5c10e570eab1af9b6d3 /tests/bugs/inlineAround/aspect1
parentfafdaa404c28c821c3349e7d950afb6a4c8dd790 (diff)
downloadaspectj-bcdbd68f76629692a5e780702086bff96cdc4c7c.tar.gz
aspectj-bcdbd68f76629692a5e780702086bff96cdc4c7c.zip
fix and better tests for
Bugzilla Bug 37152 java.lang.VerifyError:
Diffstat (limited to 'tests/bugs/inlineAround/aspect1')
-rw-r--r--tests/bugs/inlineAround/aspect1/Base.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/bugs/inlineAround/aspect1/Base.java b/tests/bugs/inlineAround/aspect1/Base.java
new file mode 100644
index 000000000..e61f34648
--- /dev/null
+++ b/tests/bugs/inlineAround/aspect1/Base.java
@@ -0,0 +1,30 @@
+package aspect1;
+
+public abstract aspect Base {
+ private Helper h = new Helper();
+ {
+ h.h1 = new Helper();
+ h.h1.h1 = new Helper();
+ }
+
+ private class Inner {
+ String data = "inner";
+ }
+
+ protected abstract pointcut where();
+
+ Object around(double d, int i): where() && args(i, d) {
+ String s = h.data + h.h1.data + h.h1.h1.data + d + i;
+ System.err.println(s);
+ return proceed(d, i);
+ }
+}
+
+
+class Helper {
+ String data = "helper";
+ Helper h1;
+ String getData() {
+ return data;
+ }
+} \ No newline at end of file