From: acolyer Date: Wed, 31 Mar 2004 21:38:25 +0000 (+0000) Subject: updates for 1.2 release X-Git-Tag: Root_ajdt_support~76 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=180a2e2b4cff737e9aecdf8692cd6300a0390722;p=aspectj.git updates for 1.2 release --- diff --git a/docs/dist/doc/changes.html b/docs/dist/doc/changes.html index 3b7a4ea40..495b0a96a 100644 --- a/docs/dist/doc/changes.html +++ b/docs/dist/doc/changes.html @@ -239,7 +239,7 @@ Some of the more significant bug fixes and enhancements include:
  • 42574 -extdirs opion now recognises .zip files as well as .jar. -
  • +
  • 48091 New option -XlazyTjp defers creation of JoinPoint objects until just before calling the advice body that requires them. This allows the cost of creating @@ -264,6 +264,22 @@ Some of the more significant bug fixes and enhancements include: Incremental compilation now deletes any additional class files generated during the weave phase when the class file from whence they came is deleted.
  • +
  • 54621 + Incremental compilation will now detect changes (add, delete, modify) to class + files in directories on the inpath and will include them in incremental compilation. +
  • +
  • 54621 + Incremental compilation will now detect changes to jars on the inpath (and injars), + and trigger a full build if a jar is modified. +
  • +
  • 54622 + Incremental compilation will now detect changes to resources on the inpath. +
  • +
  • 54618 + Incremental compilation will now detect changes to any of the paths affecting + compilation, and triggers a full build if there has been any change since the + last build. +
  • 50200 The aspectjrt.jar manifest file now has the correct (upper) case.
  • diff --git a/docs/dist/doc/porting.html b/docs/dist/doc/porting.html index 285a2e8bb..bdb75f533 100644 --- a/docs/dist/doc/porting.html +++ b/docs/dist/doc/porting.html @@ -136,6 +136,14 @@ where it cannot be determined at compile time whether the type of the receiver w the target expression. Note that target cannot be used in declare statements.

    +

    Use of non-statically determinable pointcut expressions in declare statements has always been forbidden, +but prior to 1.2 the AspectJ compiler did not raise an error if they were used. The AspectJ Language +Semantics appendix states that cflow, cflowbelow, this, target, args and if pointcut +designators cannot be used directly or indirectly (through a user-defined pointcut) inside of a declare +statment. When moving code from 1.1 to 1.2, additional errors may be raised due to the stricter policing of this +rule. The solution is to recode the declare statement avoiding pointcut expressions that may require a run-time test. +

    +

    Porting pre-1.1 code to AspectJ 1.1

    README-11.html contains a discussion of the language changes from 1.0 to 1.1. The high points: