diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-01-04 10:37:45 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-01-06 10:09:11 +0100 |
commit | 947108b8c15b6434b05b2c43fb55ba014ecc3b11 (patch) | |
tree | d6b11234ca50d1187190c9cf5576714f635170e2 /docs/release/README-1.9.5.adoc | |
parent | 5896889327c680c84981542fb7ba95f015650f82 (diff) | |
download | aspectj-947108b8c15b6434b05b2c43fb55ba014ecc3b11.tar.gz aspectj-947108b8c15b6434b05b2c43fb55ba014ecc3b11.zip |
Move release notes README-*.adoc to separate directory
Also move two more release-related documents.
All referenced images are now in a common subdirectory.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'docs/release/README-1.9.5.adoc')
-rw-r--r-- | docs/release/README-1.9.5.adoc | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/docs/release/README-1.9.5.adoc b/docs/release/README-1.9.5.adoc new file mode 100644 index 000000000..662c561bc --- /dev/null +++ b/docs/release/README-1.9.5.adoc @@ -0,0 +1,54 @@ +== AspectJ 1.9.5 + +_© Copyright 2019 Contributors. All rights reserved._ + +The full list of resolved issues in 1.9.5 is available +https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&f0=OP&f1=OP&f3=CP&f4=CP&j1=OR&list_id=16866879&product=AspectJ&query_format=advanced&target_milestone=1.9.5[here] + +_Release info: 1.9.5 available 28-Nov-2019_ + +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`: + +[source, java] +.... +public class Code { + public static void main(String[] argv) {} + + static aspect X { + before(): execution(* Code.main(..)) { + System.out.println( +""" +This +is +on +multiple +lines +""" +); + } + } + +} +.... + +Compile it with: + +[source, text] +.... +$ ajc --enable-preview -13 Code.java +.... + +Now run it: + +[source, text] +.... +$ java --enable-preview Code +This +is +on +multiple +lines +.... |