From 63423ac4b5ea11fc70bd68dd7f37b84798394f53 Mon Sep 17 00:00:00 2001 From: acolyer Date: Mon, 20 Jun 2005 10:28:36 +0000 Subject: update aspectjrt.jar in lib and test cases uses MAP in tests to reflect introduction of PointcutExpression interface --- tests/java5/ataspectj/annotationGen/Deow.aj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/java5/ataspectj/annotationGen/Deow.aj') diff --git a/tests/java5/ataspectj/annotationGen/Deow.aj b/tests/java5/ataspectj/annotationGen/Deow.aj index 8a50e33e3..b07e88355 100644 --- a/tests/java5/ataspectj/annotationGen/Deow.aj +++ b/tests/java5/ataspectj/annotationGen/Deow.aj @@ -13,7 +13,7 @@ public aspect Deow { if (!deows[1].isError()) throw new RuntimeException("Expecting an error"); if (!deows[0].getMessage().equals("dont call system methods")) throw new RuntimeException("Bad message"); if (!deows[1].getMessage().equals("dont call system methods")) throw new RuntimeException("Bad message"); - if (!deows[0].getPointcutExpression().equals("call(* java.lang.System.*(..))")) throw new RuntimeException("Bad pc: " + deows[0].getPointcutExpression()); - if (!deows[1].getPointcutExpression().equals("call(* java.lang.System.*(..))")) throw new RuntimeException("Bad pc: " + deows[0].getPointcutExpression()); + if (!deows[0].getPointcutExpression().toString().equals("call(* java.lang.System.*(..))")) throw new RuntimeException("Bad pc: " + deows[0].getPointcutExpression()); + if (!deows[1].getPointcutExpression().toString().equals("call(* java.lang.System.*(..))")) throw new RuntimeException("Bad pc: " + deows[0].getPointcutExpression()); } } \ No newline at end of file -- cgit v1.2.3