diff options
author | jhugunin <jhugunin> | 2002-12-18 03:18:51 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2002-12-18 03:18:51 +0000 |
commit | ec427477ed4001f39fe29dbf6a7045746644369a (patch) | |
tree | d80659af9437a0946d3e0e6157836103169b7150 /tests/new | |
parent | 50a5e5b5b820891b81d97f850a2dd0d1bfa8c86a (diff) | |
download | aspectj-ec427477ed4001f39fe29dbf6a7045746644369a.tar.gz aspectj-ec427477ed4001f39fe29dbf6a7045746644369a.zip |
changed for void return type of field sets
Diffstat (limited to 'tests/new')
-rw-r--r-- | tests/new/IfPCDAdviceMethods.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/new/IfPCDAdviceMethods.java b/tests/new/IfPCDAdviceMethods.java index 121032dd2..659b42ad7 100644 --- a/tests/new/IfPCDAdviceMethods.java +++ b/tests/new/IfPCDAdviceMethods.java @@ -111,6 +111,7 @@ aspect Aspect { static int namedIfNeverCounter; static int i; static boolean executedNamedIf() { + //System.err.println("named if + " + namedIfCounter); a("executedNamedIf:"+namedIfCounter++); return true; } @@ -190,14 +191,14 @@ aspect Aspect { before(): named_execution_pc() { a("before.execution_pc.namedIf()"); } before(): named_initialization_pc() { a("before.initialization_pc.namedIf()"); } - int around() : set_pc () { a("around.set_pc.if(true)"); return proceed(); } + Object around() : set_pc () { a("around.set_pc.if(true)"); return proceed(); } int around() : get_pc () { a("around.get_pc.if(true)"); return proceed(); } void around() : call_pc () { a("around.call_pc.if(true)"); proceed(); } void around() : callType_pc() { a("around.callType_pc.if(true)"); proceed(); } void around() : execution_pc() { a("around.execution_pc.if(true)"); proceed(); } void around() : initialization_pc() { a("around.initialization_pc.if(true)"); proceed(); } - int around() : named_set_pc () { a("around.set_pc.namedIf()"); return proceed(); } + Object around() : named_set_pc () { a("around.set_pc.namedIf()"); return proceed(); } int around() : named_get_pc () { a("around.get_pc.namedIf()"); return proceed(); } void around() : named_call_pc () { a("around.call_pc.namedIf()"); proceed(); } void around() : named_callType_pc() { a("around.callType_pc.namedIf()"); proceed(); } @@ -254,7 +255,7 @@ aspect Aspect2 { } /** @testTarget ifpcd.compile.pcds.unnamed.set.around */ - int around() : if(true) && set(int BaseApp.i) { + Object around() : if(true) && set(int BaseApp.i) { a("around.set_pc.anonymous"); return proceed(); } |