From f1d911e51803c8700edab71635036e95a968e68c Mon Sep 17 00:00:00 2001 From: jhugunin Date: Tue, 22 Apr 2003 22:29:51 +0000 Subject: a sketch of a test for a naming issue that doesn't appear to be an actual bug --- tests/bugs/AroundNames.java | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/bugs/AroundNames.java (limited to 'tests/bugs') diff --git a/tests/bugs/AroundNames.java b/tests/bugs/AroundNames.java new file mode 100644 index 000000000..27b2aa7f3 --- /dev/null +++ b/tests/bugs/AroundNames.java @@ -0,0 +1,28 @@ +public class AroundNames { + public static void main(String[] args) { + new Base().doit(); + new Derived().doit(); + } +} + +class Base { + static private final void m() {} + + public void doit() { + m(); + } +} + +class Derived { + static private final void m() { return; } // "Derived"; } + + public void doit() { + m(); + } +} + +aspect A { + Object around(): execution(* m()) { + return proceed(); + } +} \ No newline at end of file -- cgit v1.2.3