]> source.dussan.org Git - aspectj.git/commitdiff
can't use type patterns in target
authorjhugunin <jhugunin>
Wed, 18 Dec 2002 01:39:44 +0000 (01:39 +0000)
committerjhugunin <jhugunin>
Wed, 18 Dec 2002 01:39:44 +0000 (01:39 +0000)
tests/base/test131/Driver.java

index 752224626be98808df321c5f74df462c0b5079fa..0592844b4ec62ec40acad66f25e9d616fe2ef369 100644 (file)
@@ -32,12 +32,12 @@ aspect TopAdvice {
         return result+10;
     }
 
-    int around(): target(p1.*) && call(int *()) {
+    int around(): call(int p1.*.*()) {
         int result = proceed();
         return result+100;
     }
 
-    int around(): target(p1..*) && call(int *()) {
+    int around(): call(int p1..*.*()) {
         int result = proceed();
         return result+1000;
     }