aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/InnerPointcut.java
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-03-06 22:12:00 +0000
committerjhugunin <jhugunin>2003-03-06 22:12:00 +0000
commit0a175d2d0330eb9843ad17c917bb2434faab59e7 (patch)
tree0cc1b669eed105ce85e56ec7e93068227903b2a0 /tests/bugs/InnerPointcut.java
parent5d61a55e62fda794c101f2001bbad34f8c915e01 (diff)
downloadaspectj-0a175d2d0330eb9843ad17c917bb2434faab59e7.tar.gz
aspectj-0a175d2d0330eb9843ad17c917bb2434faab59e7.zip
FIXED: Bugzilla Bug 32421
can't resolve nested public interfaces FIXED: Bugzilla Bug 32399 Incorrect binding of protected (marker) interfaces
Diffstat (limited to 'tests/bugs/InnerPointcut.java')
-rw-r--r--tests/bugs/InnerPointcut.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs/InnerPointcut.java b/tests/bugs/InnerPointcut.java
new file mode 100644
index 000000000..063a5eb65
--- /dev/null
+++ b/tests/bugs/InnerPointcut.java
@@ -0,0 +1,20 @@
+// for Bug#: 32428
+import org.aspectj.testing.Tester;
+
+
+public class InnerPointcut {
+ public static void main(String[] args) {
+ Tester.checkEqual(TrackTestCase.note, "ran");
+ }
+
+ pointcut testcutOuter(): within(InnerPointcut);
+
+ static aspect TrackTestCase {
+ static String note = "not run yet";
+ pointcut testcut() : execution(public void mai*(..));
+ before() : testcut() && testcutOuter() {
+ note = "ran";
+ }
+ }
+
+}