From d709a2a55e51f63dff9af02eae4b6fe701286eb0 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Thu, 28 Nov 2019 10:35:04 -0800 Subject: [PATCH] 1.9.5 readme --- docs/dist/doc/README-195.html | 74 +++++++++++++++++++++++++++++++++++ docs/dist/doc/index.html | 3 +- 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 docs/dist/doc/README-195.html diff --git a/docs/dist/doc/README-195.html b/docs/dist/doc/README-195.html new file mode 100644 index 000000000..06a1bdb2d --- /dev/null +++ b/docs/dist/doc/README-195.html @@ -0,0 +1,74 @@ + + +AspectJ 1.9.5 Readme + + + + +
+© Copyright 2019 Contributors. +All rights reserved. +
+

AspectJ 1.9.5

+

The full list of resolved issues in 1.9.5 is available +here.

+ +

AspectJ 1.9.5 supports Java13. Java13 introduces text blocks, but you must activate support for that via +an --enable-preview flag when using the compiler and attempting to run the resultant classes: + +Here is Code.java: +


+=======8<=========
+public class Code {
+	public static void main(String[] argv) {
+	}
+
+  static aspect X {
+    before(): execution(* Code.main(..)) {
+	System.out.println(
+"""
+This
+is
+on
+multiple
+lines
+"""
+);
+    }
+  }
+
+}
+=========8<=========
+
+ +

Compile it with: +


+$ ajc --enable-preview -13 Code.java
+
+ +

Now run it: +


+$ java --enable-preview Code
+This
+is
+on
+multiple
+lines
+
+ +

Available: 1.9.5 available 28-Nov-2019

+ +

+ + + + + diff --git a/docs/dist/doc/index.html b/docs/dist/doc/index.html index 68abf89d3..fe276ee4a 100644 --- a/docs/dist/doc/index.html +++ b/docs/dist/doc/index.html @@ -138,12 +138,13 @@ README's Changes and porting guide for AspectJ + 1.9.5, 1.9.4, 1.9.3, 1.9.2, 1.9.1, 1.9.0, - 1.8.10, + 1.8.11, 1.8.10, 1.8.9, 1.8.8, -- 2.39.5