aboutsummaryrefslogtreecommitdiffstats
path: root/docs/dist/doc/README-196.adoc
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-07-19 12:11:38 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-01-06 10:09:11 +0100
commitef87efb9056861980104c9bad63223590e29bc44 (patch)
tree9eb85671ad235f432770e9dfd0289984a21582ff /docs/dist/doc/README-196.adoc
parent6450c7d744c2be34767105626b70df518ac38631 (diff)
downloadaspectj-ef87efb9056861980104c9bad63223590e29bc44.tar.gz
aspectj-ef87efb9056861980104c9bad63223590e29bc44.zip
Improve release notes formatting
Also unify the way copyright and release date is displayed Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'docs/dist/doc/README-196.adoc')
-rw-r--r--docs/dist/doc/README-196.adoc21
1 files changed, 5 insertions, 16 deletions
diff --git a/docs/dist/doc/README-196.adoc b/docs/dist/doc/README-196.adoc
index 35e7ab2d3..0ecbc8967 100644
--- a/docs/dist/doc/README-196.adoc
+++ b/docs/dist/doc/README-196.adoc
@@ -1,23 +1,20 @@
-[.small]#© Copyright 2020 Contributors. All rights reserved.#
-
== AspectJ 1.9.6
+_© Copyright 2020 Contributors. All rights reserved._
+
The full list of resolved issues in 1.9.6 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.6[here]
-.
+_Release info: 1.9.6 available 22-Jul-2020_
AspectJ 1.9.6 supports Java14. Java14 introduces records, 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:
+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]
....
-// =======8<=========
public record Person(String firstName, String lastName, int age) {}
-// =======8<=========
-// =======8<=========
public class UsingPersonRecord {
public static void main(String[] argv) {
Person p = new Person("A","B",99);
@@ -25,15 +22,12 @@ public class UsingPersonRecord {
System.out.println(p.firstName());
}
}
-// =======8<=========
-// =======8<=========
public aspect TraceRecordComponents {
before(): execution(public * *()) {
System.out.println(thisJoinPointStaticPart);
}
}
-// =======8<=========
....
Compile it with:
@@ -53,8 +47,3 @@ Person[firstName=A, lastName=B, age=99]
execution(String Person.firstName())
A
....
-
-Available: 1.9.6 available 22-Jul-2020
-
- +
- +