From fad36b98aaef028c7678206f89a0e8178b360030 Mon Sep 17 00:00:00 2001 From: wisberg Date: Tue, 20 May 2003 18:39:43 +0000 Subject: [PATCH] added paragraph for call site implementation --- docs/dist/doc/porting.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/dist/doc/porting.html b/docs/dist/doc/porting.html index 978ed3ee6..939db9b19 100644 --- a/docs/dist/doc/porting.html +++ b/docs/dist/doc/porting.html @@ -33,13 +33,23 @@ This section applies only to developers using AspectJ 1.1. It lists the few 1.1 changes that might affect 1.0 programs at compile-time. These changes were made to simplify the language for -bytecode weaving. +bytecode weaving and to make incremental compilation possible. +

There are also some changes in the runtime behavior of code generated by the 1.1 compiler which might warrant rewriting code. For information on that behavior and on the new features of the 1.1 language, see the documentation for AspectJ 1.1. +

+The call(..) pointcut designator is now implemented +only at the call site; by contrast, the AspectJ 1.0 compiler could +also implement it on the callee side. So in 1.0 if you +compiled a pointcut using call(..) but only passed +the compiler the code for the target of the call, the pointcut +could be implemented. This is not true for 1.1. To fix this, +use execution(..) in place of call(..), +or include all calling clients in the compile.

Type-patterns are no longer permitted for the defining -- 2.39.5