From 7373dbd5f301c464873d687c170170f87fe0c366 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Wed, 21 Dec 2022 15:00:22 +0100 Subject: [PATCH] Update release notes for 1.9.19 (Java 19) Signed-off-by: Alexander Kriegisch --- docs/dist/doc/README-1919.html | 57 ++++++++++++++++------------------ 1 file changed, 26 insertions(+), 31 deletions(-) diff --git a/docs/dist/doc/README-1919.html b/docs/dist/doc/README-1919.html index a146c53a7..9861baf97 100644 --- a/docs/dist/doc/README-1919.html +++ b/docs/dist/doc/README-1919.html @@ -42,24 +42,24 @@
  • Structured concurrency (incubator)
  • -Please note that the upstream Eclipse Java Compiler (ECJ) which the AspectJ Compiler (AJC) is a fork of still has some -open issues concerning Java 19 preview feature support, see the list in -this comment. AJC therefore -inherits the same problems for the specific cases described in the linked issues. +

    + Please note that the upstream Eclipse Java Compiler (ECJ) which the AspectJ Compiler (AJC) is a fork of still has some + open issues concerning Java 19 preview feature support, see the list in + this comment. AJC therefore + inherits the same problems for the specific cases described in the linked issues. +

    Improvements

    -

    - In annotation style aspects, asynchronous proceed() calls in @Around advice now works in threads - created from within the advice. Previously, this was only working in native syntax aspects. There is still a - limitation with regard to asynchronous proceed, if you do not create the thread in the advice but want to use e.g. - an ExecutorService with its own thread pool. This still is not working in annotation style aspects, only in - native syntax ones. -

    -

    - See issue #128 and - pull request #132 for more details. -

    + +

    Code examples

    @@ -78,15 +78,10 @@ inherits the same problems for the specific cases described in the linked issues

  • - + Pattern matching for switch (preview 3), record patterns (preview 1)
  • -
  • - - Asynchronous proceed in native vs. annotation style syntax - -
  • Please note that presently there is no specific sample code for virtual threads and structured concurrency in the AspectJ code base, because these are just new APIs, no Java language features. You can find sample code for these @@ -99,17 +94,17 @@ inherits the same problems for the specific cases described in the linked issues
    • - Fix a bug which led to NullPointerExceptions if too many JAR archives were on the classpath. Too many here - means the value system property org.aspectj.weaver.openarchives (1,000 by default). The AspectJ compiler is - meant to close archives upon cache exhaustion and then re-open them if it needs them again later. Re-opening was - broken, now the compiler works reliably even for cache sizes as small as 20. See issue - #125. + Fix (or rather work around) an old bug occurring when compiling or weaving code using ITD to declare annotations + with SOURCE retention on types, methods, constructors or fields. While declaring such annotations does not + make sense to begin with, at least the AspectJ weaver or compiler should handle the situation gracefully, which now + it does by simply ignoring errors caused by it. See + Bugzilla #366085 and pull request #196. Better + than this workaround would be for the compiler or weaver to actually print a warning when meeting source level + annotations in declare statements. Hence, follow-up issue + #201 was created.
    • - Improvements for if() pointcuts in annotation syntax, see issues - #115, - #120, - #122. + Remove legacy AspectJ Browser code and documentation.
    • Thanks to Andrey Turbanov for several clean code contributions. @@ -155,7 +150,7 @@ inherits the same problems for the specific cases described in the linked issues

      - Available: 1.9.19 on DD-MMM-2022 + Available: 1.9.19 on 21-Dec-2022

      -- 2.39.5