From: aclement Date: Tue, 22 Feb 2011 16:56:17 +0000 (+0000) Subject: 1.6.11.m2 readme X-Git-Tag: V1_6_11RC1~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d761a2167dfec4c00193fa68ad64d5939e0402c7;p=aspectj.git 1.6.11.m2 readme --- diff --git a/docs/dist/doc/README-1611.html b/docs/dist/doc/README-1611.html index 9803209ac..38bca0858 100644 --- a/docs/dist/doc/README-1611.html +++ b/docs/dist/doc/README-1611.html @@ -20,13 +20,34 @@ All rights reserved.

AspectJ 1.6.11 Readme

-

1.6.11 milestone 1 available 10-Dec-2010

The full list of resolved issues in 1.6.11 is available here.

-

Changes

-

1.6.11 includes a couple of interesting changes, in addition to a few bug fixes. -

Annotation removal

+

1.6.11 milestone 2 available 22-Feb-2011

+

1.6.11 milestone 1 available 10-Dec-2010

+

Notable Changes

+

M2 - Multithreaded world access

+

The weaver is backed by a representation of types called a world. Traditionally the worlds have supported single threads - and that +is how they are used when doing compile time weaving or load time weaving. However in some configurations, e.g. pointcut +matching under Spring, a single world instance may be getting accessed by multiple threads at the same time. Under +bug337855 some changes have been made to better support this kind +of configuration.

+ +

M2 - various attribute deserialization issues

+

In 1.6.9 we made some radical changes to the serialized form. It turns out some of the +deserialization code wasn't handling these new forms quite right. This would manifest as an IllegalStateException or +IndexOutOfBoundsException or similar, during attribute unpacking. These issues have now all been sorted out in 1.6.11.M2.

+ +

M2 - further optimizations in model for AJDT

+

More changes have been made for users trying out the -Xset:minimalModel=true option to try and reduce the memory used in +their Eclipse/AJDT configurations. This option is discussed in detail here. +It now saves even more memory. Also, previously the amount of memory it recovered depended on compilation order (which the user has no control over), but now +it is insensitive to ordering and should always recover the same amount across builds of the same project. With a bit more positive feedback on this option, +it will become the default under AJDT. + +


+ +

M1 - Annotation removal

Traditionally AspectJ has taken an additive approach, where methods/fields/supertypes/annotations can only be added to types. Now, chaos would likely ensue if we allowed removal of supertypes, methods, etc, but we are seeing an increasing number of requirements to do more with annotations. What kinds of thing? Basically remove existing annotations, or modify existing @@ -37,7 +58,7 @@ annotations by changing their values.

Notice the '-' in front of the annotation, meaning 'removal'. The whole construct means 'remove the @Anno annotation from the int field called i in type Foo'. It is not yet supported on the other forms of declare @. -

Intertype innertypes

+

M1 - Intertype innertypes

More work has gone into this feature. It was originally added in 1.6.9 but the inability to use it with binary weaving greatly reduced the usefulness. Fixes have gone into 1.6.11 to support binary weaving. What do we mean by intertype innertypes? Here is an example: