diff options
Diffstat (limited to 'docs/dist/doc/README-1.9.1.adoc')
-rw-r--r-- | docs/dist/doc/README-1.9.1.adoc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/dist/doc/README-1.9.1.adoc b/docs/dist/doc/README-1.9.1.adoc new file mode 100644 index 000000000..e5aeac249 --- /dev/null +++ b/docs/dist/doc/README-1.9.1.adoc @@ -0,0 +1,31 @@ +== AspectJ 1.9.1 + +_© Copyright 2018 Contributors. All rights reserved._ + +The full list of resolved issues in 1.9.1 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.1[here] + +_Release info: 1.9.1 available 20-Apr-2018_ + +=== Java 10 support + +AspectJ has updated to a recent JDT compiler version (commit +#abe06abe4ce1 - 9-Apr-2018). With this update it now supports Java10. +This means you can use the `var` support. A simple example of combining +var with an aspect: + +[source, java] +.... +public class Code3 { + public static void main(String []argv) { + var x = "hello"; + System.out.println(x.getClass()); + } +} + +aspect X { + before(): call(* *.getClass()) && target(String) { + System.out.println(thisJoinPointStaticPart); + } +} +.... |