From 7b2bd108b72dbe26c15be6e976fc499e0d8759fc Mon Sep 17 00:00:00 2001 From: acolyer Date: Thu, 4 Aug 2005 13:19:47 +0000 Subject: improved and additional signature matching tests --- tests/java5/bridgeMethods/AspectX.aj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/java5/bridgeMethods') diff --git a/tests/java5/bridgeMethods/AspectX.aj b/tests/java5/bridgeMethods/AspectX.aj index fb4827023..12ecf12fc 100644 --- a/tests/java5/bridgeMethods/AspectX.aj +++ b/tests/java5/bridgeMethods/AspectX.aj @@ -4,11 +4,11 @@ public aspect AspectX { static Set matchedJps = new HashSet(); - before(): call(* compareTo(..)) { + before(): call(* Number.compareTo(..)) { matchedJps.add(new String("call() matched on "+thisJoinPoint.toString())); } - before(): execution(* compareTo(..)) { + before(): execution(* Number.compareTo(..)) { matchedJps.add(new String("execution() matched on "+thisJoinPoint.toString())); } @@ -22,7 +22,7 @@ public aspect AspectX { n1.compareTo("abc"); ^ 1 error - */ + */ Iterator i = matchedJps.iterator(); while (i.hasNext()) { -- cgit v1.2.3