You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README-191.html 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  2. <html> <head>
  3. <title>AspectJ 1.9.1 Readme</title>
  4. <style type="text/css">
  5. <!--
  6. P { margin-left: 20px; }
  7. PRE { margin-left: 20px; }
  8. LI { margin-left: 20px; }
  9. H4 { margin-left: 20px; }
  10. H3 { margin-left: 10px; }
  11. -->
  12. </style>
  13. </head>
  14. <body>
  15. <div align="right"><small>
  16. &copy; Copyright 2018 Contributors.
  17. All rights reserved.
  18. </small></div>
  19. <p>The full list of resolved issues in 1.9.1 is available
  20. <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.1">here</a></h2>.</p>
  21. <h1>AspectJ 1.9.1</h1>
  22. <h4>Java 10 support</h4>
  23. <p>AspectJ has updated to a recent JDT compiler version (commit <tt>#abe06abe4ce1</tt> - 9-Apr-2018). With this update it
  24. now supports Java10. This means you can use the 'var' support. A simple example of combining var with
  25. an aspect:</p>
  26. <p>
  27. <pre><code>
  28. public class Code3 {
  29. public static void main(String []argv) {
  30. var x = "hello";
  31. System.out.println(x.getClass());
  32. }
  33. }
  34. aspect X {
  35. before(): call(* *.getClass()) && target(String) {
  36. System.out.println(thisJoinPointStaticPart);
  37. }
  38. }
  39. </code></pre>
  40. </p>
  41. <p>Available: 1.9.1 available 20-Apr-2018</p>
  42. <br><br>
  43. <!-- ============================== -->
  44. </body>
  45. </html>