diff options
Diffstat (limited to 'docs/dist/doc/README-196.adoc')
-rw-r--r-- | docs/dist/doc/README-196.adoc | 21 |
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 - - + - + |