From 636462fb9c40b77c867dcea2344737ab13331451 Mon Sep 17 00:00:00 2001
From: Andy Clement The full list of resolved issues in 1.9.0 is available
here. 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.
+
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). 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:AspectJ 1.9.0.RC1 Readme
+AspectJ 1.9.0.RC2 Readme
+
+
+1.9.0.RC2 changes
+
+
-Notable changes
+1.9.0.RC1 changes
Automatic Modules
+Automatic 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
+Dave Syer recently created a series of benchmarks for checking the speed of Spring-AspectJ: https://github.com/dsyer/spring-boot-aspectj -- cgit v1.2.3