From 9131c030bd77797b3593dee984ac75821055a44d Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Fri, 4 Jun 2021 10:08:54 +0700 Subject: [PATCH] Add release notes for 1.9.7 Signed-off-by: Alexander Kriegisch --- docs/dist/doc/README-197.html | 120 ++++++++++++++++++++++++++++++++++ docs/dist/doc/index.html | 1 + 2 files changed, 121 insertions(+) create mode 100644 docs/dist/doc/README-197.html diff --git a/docs/dist/doc/README-197.html b/docs/dist/doc/README-197.html new file mode 100644 index 000000000..2316ab580 --- /dev/null +++ b/docs/dist/doc/README-197.html @@ -0,0 +1,120 @@ + + + + +AspectJ 1.9.7 Readme + + + + +
© Copyright 2021 Contributors. All rights reserved.
+ +

AspectJ 1.9.7

+ +

+ AspectJ (binaries, source code, documentation) is now distributed under the + Eclipse Public License v 2.0. +

+ +

New features

+ +

+ AspectJ 1.9.7 supports Java 15 & + Java 16 and their respective final and review features: +

+ +

+ For features marked as preview on a given JDK, you need to compile with ajc --enable-preview and run with + java --enable-preview on that JDK. +

+

+ Please note that you cannot run code compiled with preview features on any other JDK than the one used for + compilation. For example, records compiled with preview on JDK 15 cannot be used on JDK 16 without recompilation. This + is a JVM limitation unrelated to AspectJ. Also, e.g. sealed classes are preview-1 on JDK 15 and preview-2 on JDK 16. + You still need to recompile, no matter what. +

+

+

+ You can find some sample code in the AspectJ test suite under the respective AspectJ version in which the features + were first supported (possibly as JVM preview features): +

+ + +

Using LTW on Java 16+

+ +

+ Please note that if you want to use load-time weaving on Java 16+, the weaving agent collides with + JEP 396 (Strongly Encapsulate JDK Internals by Default). Therefore, + you need to set the JVM parameter --add-opens java.base/java.lang=ALL-UNNAMED in order to enable aspect + weaving. This is due to the fact that the weaver uses internal APIs for which we have not found an adequate + replacement yet when defining classes in different classloaders. +

+ +

Organisational and internal changes

+ +

+ For AspectJ 1.9.7, we implemented a lot of internal changes concerning the build and release process, most of which + are not visible in the product itself but will help us to more easily maintain and release the product in the future + and more easily on-boarding new developers or contributors. For example: +

+ + +

Other changes and bug fixes

+ + + +

+ Available: 1.9.7 available ##-###-2021 +

+ + + + diff --git a/docs/dist/doc/index.html b/docs/dist/doc/index.html index f8309f335..8192f36ac 100644 --- a/docs/dist/doc/index.html +++ b/docs/dist/doc/index.html @@ -138,6 +138,7 @@ README's Changes and porting guide for AspectJ + 1.9.7, 1.9.6, 1.9.5, 1.9.4, -- 2.39.5