From bcdbd68f76629692a5e780702086bff96cdc4c7c Mon Sep 17 00:00:00 2001 From: jhugunin Date: Fri, 2 May 2003 20:36:06 +0000 Subject: fix and better tests for Bugzilla Bug 37152 java.lang.VerifyError: --- tests/bugs/inlineAround/aspect1/Base.java | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/bugs/inlineAround/aspect1/Base.java (limited to 'tests/bugs/inlineAround/aspect1') 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 -- cgit v1.2.3