aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2020-04-20 16:24:02 -0700
committerAndy Clement <aclement@pivotal.io>2020-04-20 16:24:02 -0700
commit4471ba76ac755b504d99e514a1cf5a375e7d02d1 (patch)
tree5f8d4f4dfb79d72f6c344294a319b0b04b01e2ae /docs
parent17026e35243f229c2e3c07c292f2caaac65503a4 (diff)
downloadaspectj-4471ba76ac755b504d99e514a1cf5a375e7d02d1.tar.gz
aspectj-4471ba76ac755b504d99e514a1cf5a375e7d02d1.zip
Include JDTCore for Java14
Diffstat (limited to 'docs')
-rw-r--r--docs/dist/doc/README-196.html74
-rw-r--r--docs/dist/doc/index.html1
2 files changed, 75 insertions, 0 deletions
diff --git a/docs/dist/doc/README-196.html b/docs/dist/doc/README-196.html
new file mode 100644
index 000000000..b9dbaea4a
--- /dev/null
+++ b/docs/dist/doc/README-196.html
@@ -0,0 +1,74 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html> <head>
+<title>AspectJ 1.9.6 Readme</title>
+<style type="text/css">
+<!--
+ P { margin-left: 20px; }
+ PRE { margin-left: 20px; }
+ LI { margin-left: 20px; }
+ H4 { margin-left: 20px; }
+ H3 { margin-left: 10px; }
+-->
+</style>
+</head>
+
+<body>
+<div align="right"><small>
+&copy; Copyright 2020 Contributors.
+All rights reserved.
+</small></div>
+<h1>AspectJ 1.9.6</h1>
+<p>The full list of resolved issues in 1.9.6 is available
+<a href="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</a></h2>.</p>
+
+<p>AspectJ 1.9.6 supports Java14. Java14 introduces records, but you must activate support for that via
+an <tt>--enable-preview</tt> flag when using the compiler and attempting to run the resultant classes:
+
+Here is <tt>Code.java</tt>:
+<pre><code>
+=======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);
+ System.out.println(p);
+ System.out.println(p.firstName());
+ }
+}
+=======8<=========
+
+=======8<=========
+public aspect TraceRecordComponents {
+ before(): execution(public * *()) {
+ System.out.println(thisJoinPointStaticPart);
+ }
+}
+=======8<=========
+</code></pre>
+
+<p>Compile it with:
+<pre><code>
+$ ajc --enable-preview -14 Person.java UsingPersonRecord.java TraceRecordComponents.java
+</code></pre>
+
+<p>Now run it:
+<pre><code>
+$ java --enable-preview UsingPersonRecord
+This
+is
+on
+multiple
+lines
+</code></pre>
+
+<p>Available: 1.9.6 available 22-Apr-2020</p>
+
+<br><br>
+
+
+<!-- ============================== -->
+</body>
+</html>
diff --git a/docs/dist/doc/index.html b/docs/dist/doc/index.html
index fe276ee4a..f8309f335 100644
--- a/docs/dist/doc/index.html
+++ b/docs/dist/doc/index.html
@@ -138,6 +138,7 @@
<tr> <td>README's
</td>
<td>Changes and porting guide for AspectJ
+ <a href="README-196.html">1.9.6</a>,
<a href="README-195.html">1.9.5</a>,
<a href="README-194.html">1.9.4</a>,
<a href="README-193.html">1.9.3</a>,