diff options
author | wisberg <wisberg> | 2004-05-04 17:38:37 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2004-05-04 17:38:37 +0000 |
commit | 39f5d7fc92e1a18e2a4c0fd398a79a07460005c5 (patch) | |
tree | c0fad42e51b1877b03e0ba3b879c3bdad257fe5b /docs/dist/doc | |
parent | 6ce049f5884f0bd6d7503d694911f33c8c1f4e29 (diff) | |
download | aspectj-39f5d7fc92e1a18e2a4c0fd398a79a07460005c5.tar.gz aspectj-39f5d7fc92e1a18e2a4c0fd398a79a07460005c5.zip |
interface constructor-execution join point gone
Diffstat (limited to 'docs/dist/doc')
-rw-r--r-- | docs/dist/doc/porting.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/dist/doc/porting.html b/docs/dist/doc/porting.html index 819ff209d..d5c693d12 100644 --- a/docs/dist/doc/porting.html +++ b/docs/dist/doc/porting.html @@ -151,11 +151,17 @@ statment. When moving code from 1.1 to 1.2, additional errors may be raised due rule. The solution is to recode the declare statement avoiding pointcut expressions that may require a run-time test. </p> -<p><b>Declaring a constructor on an interface</b> is now (correctly) prohibited. +<p><b>Interface constructors no longer supported</b>. +Declaring a constructor on an interface is now (correctly) prohibited, +and there will no longer be a constructor-execution join point for the interface. To initialize a field declared on an interface, use initialization, e.g., </p> <pre>int I.i; after(I i) returning: initialization(I) && this(i) { i.i = 2; }</pre> +<p>To pick out the constructor-execution for any implementation of I, try +</p> +<pre>execution(I+.new(..))</pre> + <p>For more information, see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=49295">49295</a>. </p> |