diff options
author | Andy Clement <aclement@pivotal.io> | 2019-11-28 10:35:04 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2019-11-28 10:35:04 -0800 |
commit | d709a2a55e51f63dff9af02eae4b6fe701286eb0 (patch) | |
tree | 0646acb8378c75a608621e94d6b009de02dc0764 /docs/dist/doc | |
parent | 282c5d2d07b013963a94bc94ad3c7331147610b6 (diff) | |
download | aspectj-d709a2a55e51f63dff9af02eae4b6fe701286eb0.tar.gz aspectj-d709a2a55e51f63dff9af02eae4b6fe701286eb0.zip |
1.9.5 readme
Diffstat (limited to 'docs/dist/doc')
-rw-r--r-- | docs/dist/doc/README-195.html | 74 | ||||
-rw-r--r-- | docs/dist/doc/index.html | 3 |
2 files changed, 76 insertions, 1 deletions
diff --git a/docs/dist/doc/README-195.html b/docs/dist/doc/README-195.html new file mode 100644 index 000000000..06a1bdb2d --- /dev/null +++ b/docs/dist/doc/README-195.html @@ -0,0 +1,74 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> <head> +<title>AspectJ 1.9.5 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> +© Copyright 2019 Contributors. +All rights reserved. +</small></div> +<h1>AspectJ 1.9.5</h1> +<p>The full list of resolved issues in 1.9.5 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.5">here</a></h2>.</p> + +<p>AspectJ 1.9.5 supports Java13. Java13 introduces text blocks, 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 class Code { + public static void main(String[] argv) { + } + + static aspect X { + before(): execution(* Code.main(..)) { + System.out.println( +""" +This +is +on +multiple +lines +""" +); + } + } + +} +=========8<========= +</code></pre> + +<p>Compile it with: +<pre><code> +$ ajc --enable-preview -13 Code.java +</code></pre> + +<p>Now run it: +<pre><code> +$ java --enable-preview Code +This +is +on +multiple +lines +</code></pre> + +<p>Available: 1.9.5 available 28-Nov-2019</p> + +<br><br> + + +<!-- ============================== --> +</body> +</html> diff --git a/docs/dist/doc/index.html b/docs/dist/doc/index.html index 68abf89d3..fe276ee4a 100644 --- a/docs/dist/doc/index.html +++ b/docs/dist/doc/index.html @@ -138,12 +138,13 @@ <tr> <td>README's </td> <td>Changes and porting guide for AspectJ + <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>, <a href="README-192.html">1.9.2</a>, <a href="README-191.html">1.9.1</a>, <a href="README-190.html">1.9.0</a>, - <a href="README-1811.html">1.8.10</a>, + <a href="README-1811.html">1.8.11</a>, <a href="README-1810.html">1.8.10</a>, <a href="README-189.html">1.8.9</a>, <a href="README-188.html">1.8.8</a>, |