1.6.12.m1
diff --git a/doc/released/README-1612.html b/doc/released/README-1612.html
new file mode 100644
index 0000000..fbe5a64
--- /dev/null
+++ b/doc/released/README-1612.html
@@ -0,0 +1,80 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<html> <head>
+<title>AspectJ 1.6.12 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 2010-2011 Contributors.
+All rights reserved.
+</small></div>
+
+<h1>AspectJ 1.6.12 Readme</h1>
+
+<p>The full list of resolved issues in 1.6.12 is available
+<a href="https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;product=AspectJ;target_milestone=1.6.12;">here</a></h2>.</p>
+
+<h4>1.6.12.M1 available 7-Jun-2011</h4>
+
+
+<h2>Notable Changes</h2>
+<hr>
+<h3>M1 - synthetic is supported in pointcut modifiers <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=327867">327867</a></h3>
+<p>It is now possible to specify synthetic in pointcuts:
+</p>
+<pre><code>pointcut p(): execution(!synthetic * *(..));
+</code></pre>
+
+<h3>M1 - respect protection domain when generating types during weaving <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328099">328099</a></h3>
+<p>This enables us to weave signed jars correctly. AspectJ sometimes generates closure classes during weaving and
+these must be defined with the same protection domain as the jar that gave rise to them. In 1.6.12.M1 this should
+now work correctly.
+</p>
+
+<h3>M1 - Suppressions inline with the JDT compiler <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=335810">335810</a></h3>
+<p>Starting with Eclipse 3.6, the Eclipse compiler no longer suppresses raw type
+warnings with @SuppressWarnings("unchecked"). You need to use
+@SuppressWarnings("rawtypes") for that. AspectJ has now been updated with this rule too.
+</p>
+
+<h3>M1 - Optimized annotation value binding for ints <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=347684">347684</a></h3>
+<p>The optimized annotation value binding now supports ints - this is for use when you want to match upon the existence of an annotation but
+you don't need the annotation, you just need a value from it. This code snippet shows an example:</p>
+<pre><code>@interface SomeAnnotation {
+ int i();
+}
+
+before(int i): execution(* *(..)) && @annotation(SomeAnnotation(i)) {
+</code></pre>
+<p>
+Binding values in this way will result in code that runs *much* faster than using pointcuts that
+bind the annotation itself then pull out the value.
+</p>
+
+<p>Under that same bug some changes were made to match values by name when binding too. Suppose the annotation
+had multiple int values, how would we select which int to bind? AspectJ will now use the name (if it can) to select
+the right value:
+<pre><code>@interface SomeAnnotation {
+ int mods();
+ int flags();
+}
+
+before(int flags): execution(* *(..)) && @annotation(SomeAnnotation(flags)) {
+</code></pre>
+<p>Here the use of 'flags' as the name of the value being bound will ensure the 'flags' value from any SomeAnnotation is
+bound and not the 'mods' value.</p>
+
+
+<h4>
+<!-- ============================== -->
+</body>
+</html>
diff --git a/downloads.php b/downloads.php
index 0f8735b..a5a485b 100644
--- a/downloads.php
+++ b/downloads.php
@@ -176,8 +176,34 @@
<div class="homeitem3col">
<h3 id="milestones">AspectJ 6</h3>
<ul>
+ <li>
+ <b>AspectJ 1.6.12.M1, Released 7-Jun-2011</b>
+ <table border="0" cellspacing="0" cellpadding="0" width="100%">
+ <tr>
+ <td><ul>AspectJ compiler, browser, documentation tool, Ant tasks, and documentation.</ul></td>
+ <td width="30%" align="right">
+ <a href="http://www.eclipse.org/downloads/download.php?file=/tools/aspectj/aspectj-1.6.12.M1.jar">aspectj-1.6.12.M1.jar</a> (~12M)<br>
+ <a href="http://www.eclipse.org/downloads/download.php?file=/tools/aspectj/aspectj-1.6.12.M1-src.jar">aspectj-1.6.12.M1-src.jar</a>
+ </td>
+ </tr>
+ </table>
+ </li>
+
+ <li>
+ <b>AspectJ 1.6.11, Released 15-Mar-2011</b>
+ <table border="0" cellspacing="0" cellpadding="0" width="100%">
+ <tr>
+ <td><ul>AspectJ compiler, browser, documentation tool, Ant tasks, and documentation.</ul></td>
+ <td width="30%" align="right">
+ <a href="http://www.eclipse.org/downloads/download.php?file=/tools/aspectj/aspectj-1.6.11.jar">aspectj-1.6.11.jar</a> (~12M)<br>
+ <a href="http://www.eclipse.org/downloads/download.php?file=/tools/aspectj/aspectj-1.6.11-src.jar">aspectj-1.6.11-src.jar</a>
+ </td>
+ </tr>
+ </table>
+ </li>
+
<li>
- <b>AspectJ 1.6.10, Released 22nd Oct, 2010</b>
+ <b>AspectJ 1.6.10, Released 22-Oct-2010</b>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td><ul>AspectJ compiler, browser, documentation tool, Ant tasks, and documentation.</ul></td>
@@ -188,32 +214,8 @@
</tr>
</table>
</li>
- <li>
- <b>AspectJ 1.6.11.M2, Released 2nd Feb, 2011</b>
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr>
- <td><ul>AspectJ compiler, browser, documentation tool, Ant tasks, and documentation.</ul></td>
- <td width="30%" align="right">
- <a href="http://www.eclipse.org/downloads/download.php?file=/tools/aspectj/aspectj-1.6.11.M2.jar">aspectj-1.6.11.M2.jar</a> (~12M)<br>
- <a href="http://www.eclipse.org/downloads/download.php?file=/tools/aspectj/aspectj-1.6.11.M2-src.jar">aspectj-1.6.11.M2-src.jar</a>
- </td>
- </tr>
- </table>
- </li>
<li>
- <b>AspectJ 1.6.11.M1, Released 9th Dec, 2010</b>
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr>
- <td><ul>AspectJ compiler, browser, documentation tool, Ant tasks, and documentation.</ul></td>
- <td width="30%" align="right">
- <a href="http://www.eclipse.org/downloads/download.php?file=/tools/aspectj/aspectj-1.6.11.M1.jar">aspectj-1.6.11.M1.jar</a> (~12M)<br>
- <a href="http://www.eclipse.org/downloads/download.php?file=/tools/aspectj/aspectj-1.6.11.M1-src.jar">aspectj-1.6.11.M1-src.jar</a>
- </td>
- </tr>
- </table>
- </li>
- <li>
- <b>AspectJ 1.6.9, Released 5th July, 2010</b>
+ <b>AspectJ 1.6.9, Released 5-Jul-2010</b>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td><ul>AspectJ compiler, browser, documentation tool, Ant tasks, and documentation.</ul></td>
@@ -225,7 +227,7 @@
</table>
</li>
<li>
- <b>AspectJ 1.6.8, Released 8th January, 2010</b>
+ <b>AspectJ 1.6.8, Released 8-Jan-2010</b>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td><ul>AspectJ compiler, browser, documentation tool, Ant tasks, and documentation.</ul></td>
diff --git a/index.php b/index.php
index 63a6f2d..ed17fcc 100644
--- a/index.php
+++ b/index.php
@@ -86,6 +86,12 @@
<div class="homeitem">
<h3>News and Events</h3>
+
+ <li>AspectJ 1.6.12.M1 is now <a href="downloads.php">available for download</a>.
+ See the <a href="doc/released/README-1612.html">readme</a>
+ for more information.
+ <br><div align="right"><span class="dates"><i>posted 7-Jun-11</i></span></div>
+ </li>
<ul>
<li>AspectJ 1.6.11 is now <a href="downloads.php">available for download</a>.
See the <a href="doc/released/README-1611.html">readme</a>