From 636462fb9c40b77c867dcea2344737ab13331451 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Thu, 9 Nov 2017 15:16:52 -0800 Subject: [PATCH] updated readme for 1.9.0.rc2 --- docs/dist/doc/README-190.html | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/docs/dist/doc/README-190.html b/docs/dist/doc/README-190.html index 33d3efa6a..1ce1afe51 100644 --- a/docs/dist/doc/README-190.html +++ b/docs/dist/doc/README-190.html @@ -18,22 +18,32 @@ All rights reserved. -

AspectJ 1.9.0.RC1 Readme

+

AspectJ 1.9.0.RC2 Readme

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

+ + +

1.9.0.RC2 changes

+ +

Key change in 1.9.0.RC2 is actually to be more tolerant of JDK10. The version handling has been somewhat overhauled so AspectJ 9 will +behave better on Java 10 and future JDKs. This should put AspectJ in a better place if new JDK versions are going +to arrive thick and fast. +

-

Notable changes

+

1.9.0.RC1 changes

This is the first release candidate of AspectJ 1.9.0 - the version of AspectJ to be based on Java9. It includes a recent version of the Eclipse Java9 compiler (from jdt core, commit #062ac5d7a6bf9).

-

Automatic Modules

+

Automatic Modules

AspectJ can now be used with the new module system available in Java9. The key jars in AspectJ have been given automatic module names. The automatic module name is org.aspectj.runtime for the aspectjrt module:

@@ -62,8 +72,9 @@ contains org.aspectj.asm contains org.aspectj.asm.internal ... - -

Building woven modules

+

+

+

Building woven modules

AspectJ understands module-info.java source files and building modules that include aspects. Here is an example:


@@ -127,8 +138,9 @@ Demo running
 
 

That's it!

+

-

Binary weaving with modules

+

Binary weaving with modules

A module is really just a jar with a module-info descriptor. As such you can simply pass a module on the inpath and binary weave it with other aspects. Take the module we built above, let's weave into it again:

@@ -159,8 +171,9 @@ Azpect running AnotherAzpect running Demo running
+

-

Faster Spring AOP

+

Faster Spring AOP

Dave Syer recently created a series of benchmarks for checking the speed of Spring-AspectJ: https://github.com/dsyer/spring-boot-aspectj -- 2.39.5