« Hacking with Harrop... | Main | Making the code look like the design »

April 07, 2005

AspectJ 5 M2 released today

We released AspectJ 5 M2 today ( download)

The changes in AspectJ 5 M2 since M1 are numerous, and the highlights are listed below.

  • Full source compilation of Java 5 programs (with the "-1.5" option)
  • New Xlint warning when advice does not affect any join points (and the @SuppressAjWarnings annotation to suppress it) (-1.5 only)
  • @this,@target,@args forms changed from @this(@Foo) to @this(Foo)
  • Full support for annotation binding as context in @this, @target, @args, @annotation, @within, @withincode
  • Declare annotation (declare @field, declare @method, declare @constructor, declare @type)
  • Declare soft does not soften runtime exceptions
  • pertypewithin instantiation model
  • performance improvements resulting in reduced compilation times
  • aspectpath has been extended to accomodate directories as well as jar/zip files
  • many, many bug fixes

The AspectJ 5 Developer's Notebook has been updated to reflect the updates. So many people have contributed ideas, suggestions, and bug reports to M2 that it's impossible to list you all - but you know who you are, so thank you. Come 1.5.0 final we'll put together a roll-of-honor :)

For examples of some of the new features in action check out some of the entries in this blog:

and also the AspectJ 5 Developer's Notebook.

Posted by adrian at April 7, 2005 08:43 PM [permalink]


Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Remember me?